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.
Activity
qweeah commentedon Feb 20, 2023
Also command execution should be based on the same context passed from the root Cobra command.
qweeah commentedon Jul 10, 2023
Closing as it is already completed in #899.