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
refactor CLI to use urfave/cli v2 for subcommand routing
Replace flag.NewFlagSet + manual os.Args dispatch with a cli.App
definition. This gives proper subcommand routing for init/validate,
structured help output, and a clean foundation for future CLI expansion.
- options.go: replace initConfig() with appFlags() + buildConfig(cCtx),
using cCtx.IsSet() for config-file-then-CLI-flag precedence
- main.go: define cli.App with Commands for init/validate and Action
for the backup flow
- config_file_test.go: add buildTestConfig() helper using urfave/cli
- cli_test.go: read help from stdout (urfave/cli writes help to stdout)
- Regenerate golden files for new help format
0 commit comments