diff options
| author | Jeff Carr <[email protected]> | 2025-06-29 02:48:47 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-06-29 02:48:47 -0500 |
| commit | 2616d0d8b45f98b0946b08bb15d047753d47949d (patch) | |
| tree | 6a032069eef1073f62ee559564129cde2070b10c /argv.go | |
| parent | 0219d69bfb05358e7d3d5a615dbf275b93a48dae (diff) | |
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -19,6 +19,7 @@ type args struct { Clean *CleanCmd `arg:"subcommand:clean" help:"start over at the beginning"` Commit *CommitCmd `arg:"subcommand:commit" help:"'git commit' but errors out if on wrong branch"` Config *ConfigCmd `arg:"subcommand:config" help:"show your .config/forge/ settings"` + Debug *DebugCmd `arg:"subcommand:debug" help:"debug forge"` Dirty *DirtyCmd `arg:"subcommand:dirty" help:"show repos git says are dirty"` GitFetch *FindCmd `arg:"subcommand:fetch" help:"run 'git fetch master'"` List *FindCmd `arg:"subcommand:list" help:"print a table of the current repos"` @@ -90,6 +91,10 @@ type ConfigCmd struct { Register string `arg:"--register" help:"register your git URL (foo.com/mystuff) or (github.com/foo/bar)"` } +type DebugCmd struct { + Config *EmptyCmd `arg:"subcommand:config" help:"used to debug protobuf Marshal() if things go wrong"` +} + type CheckoutCmd struct { User *FindCmd `arg:"subcommand:user" help:"git checkout user"` Devel *FindCmd `arg:"subcommand:devel" help:"git checkout devel"` |
