Currently both the root command and some sub-commands are implemented in the main package, which is not a good practice for Cobra.
Also to satisfy #807, all the command types should be moved out of the main package with root command type exported publicly.
Currently both the root command and some sub-commands are implemented in the main package, which is not a good practice for Cobra.
Also to satisfy #807, all the command types should be moved out of the main package with root command type exported publicly.