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
Update 'main.go' to use the custom argument parser in the 'argparse'
package, specifying each command as a "subcommand" and invoking it with
'InvokeSubcommand()'.
By using the argument parser, the '-h' or '--help' flags will automatically
print usage information, and improperly formed invocations (invalid command,
no command specified, unused flags, etc.) will trigger an informative error
and exit with the usage string. This change substantially simplifies
'main.go' and improves user experience with the CLI.
Signed-off-by: Victoria Dye <[email protected]>
0 commit comments