mushorg/glutton

Add cli for management

Closed this issue · 5 comments

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.

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

@glaslos updated :)

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

Fixed in b9cf8c2