You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a new command/flag is a tedious task with current code of the Microcks-CLI. Also, we have to write help for new command/flag explicitly in help command.
spf13/cobra library can help us to do these things efficiently.
Description
Currently, we are not using the spf13/cobra library and are instead adding commands and flags using the flag package in Golang.
For future improvements, using spf13/cobra will make it easier to add support for new commands and flags efficiently.
It will also make it easier for new contributors to contribute to Microcks-CLI.
Reason/Context
command/flagis a tedious task with current code of theMicrocks-CLI. Also, we have to write help for newcommand/flagexplicitly inhelpcommand.spf13/cobralibrary can help us to do these things efficiently.Description
spf13/cobralibrary and are instead adding commands and flags using the flag package in Golang.spf13/cobrawill make it easier to add support for new commands and flags efficiently.Microcks-CLI.Related Issue(s) : #97
Implementation ideas
No response