New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cli for management #75

Closed
furusiyya opened this Issue May 29, 2017 · 5 comments

Comments

Projects
None yet
2 participants
@furusiyya
Collaborator

furusiyya commented May 29, 2017

Cli provides very easy way to register, order and categorize commands, optional flags required to run a command line application. Source of input can also be a json or toml. We can register init and exit code for our application. It provides context that travels to all handler functions of application, so flags can be accessed and set at any level of application with the help of context. Context can be used to track and shutdown goroutines.

@glaslos

This comment has been minimized.

Show comment
Hide comment
@glaslos

glaslos May 30, 2017

Member

Could you add more details what sort of management you envision?

Member

glaslos commented May 30, 2017

Could you add more details what sort of management you envision?

@furusiyya

This comment has been minimized.

Show comment
Hide comment
@furusiyya

furusiyya May 30, 2017

Collaborator

@glaslos updated :)

Collaborator

furusiyya commented May 30, 2017

@glaslos updated :)

@glaslos

This comment has been minimized.

Show comment
Hide comment
@glaslos
Member

glaslos commented May 31, 2017

This might be relevant: https://medium.com/@matryer/bd006a8ad6ff

@furusiyya

This comment has been minimized.

Show comment
Hide comment
@furusiyya

furusiyya May 31, 2017

Collaborator

exactly! this is the only we can close all connections before calling shutdown.

Collaborator

furusiyya commented May 31, 2017

exactly! this is the only we can close all connections before calling shutdown.

@glaslos

This comment has been minimized.

Show comment
Hide comment
@glaslos

glaslos Jun 13, 2017

Member

Fixed in b9cf8c2

Member

glaslos commented Jun 13, 2017

Fixed in b9cf8c2

@glaslos glaslos closed this Jun 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment