In the current CLI implementation, the help menu for every command lists all available flags, regardless of whether they are required for that specific command. This makes it difficult to determine which flags are necessary and leads to reliance on checking the code frequently if the developer is not well acquainted with the CLI command beforehand.
While adding or removing new commands, we have to ensure that commands and commandHelp are of same length
The use of cobra will help in mitigating the above mentioned concern, providing a efficient way to maintain the CLI
In the current CLI implementation, the help menu for every command lists all available flags, regardless of whether they are required for that specific command. This makes it difficult to determine which flags are necessary and leads to reliance on checking the code frequently if the developer is not well acquainted with the CLI command beforehand.
While adding or removing new commands, we have to ensure that commands and commandHelp are of same length
The use of cobra will help in mitigating the above mentioned concern, providing a efficient way to maintain the CLI