diff options
| author | Jeff Carr <[email protected]> | 2025-10-17 01:30:41 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-17 01:30:41 -0500 |
| commit | 415ff4cf1905526b727623a92354b99fb9304c83 (patch) | |
| tree | a8a6541baa09c3c900fec9421c43acba0cce2718 /argv.go | |
| parent | 2006b968539824fdb3177bd78f530de45fb9283f (diff) | |
what I actually started coding on 5 hours ago
before PB table GUI panic
before forge not initing with old configs
10 minutes turned into 5 hours.
tons of fun to work with GO compared to C. so fast.
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -31,6 +31,7 @@ type args struct { Droplet *DropletCmd `arg:"subcommand:droplet" help:"do things on virtual machines"` Upgrade *UpgradeCmd `arg:"subcommand:upgrade" help:"apt upgrade packages installed from mirrors.wit.com"` Publish *PublishCmd `arg:"subcommand:publish" help:"publish packages"` + Gui *GuiCmd `arg:"subcommand:gui" help:"start the gui"` RepoMap string `arg:"--repomap" help:"location of the repomap"` DryRun bool `arg:"--dry-run" help:"only show what would be packaged"` Install bool `arg:"--install" help:"go install the binaries first"` @@ -56,6 +57,12 @@ type DropletCmd struct { Trim *EmptyCmd `arg:"subcommand:trim" help:"clean out stuff and power off vm"` } +type GuiCmd struct { + GuiToolkit string `arg:"--gui" help:"which GUI toolkit to load"` + GuiDebug string `arg:"--gui-debug" help:"enable GUI debugging"` + GuiBuild string `arg:"--gui-build" help:"build the GUI plugins"` +} + type LinuxCmd struct { Rdate *EmptyCmd `arg:"subcommand:rdate" help:"rdate: check the time from the network"` } @@ -102,6 +109,8 @@ type GitCmd struct { Pull *EmptyCmd `arg:"subcommand:pull" help:"pull the wit standard paths"` Push *EmptyCmd `arg:"subcommand:push" help:"push the wit standard paths"` Create string `arg:"--create" help:"create new repo"` + Edit string `arg:"--edit" help:"edit the subject of the last commit"` + ChopHEAD int `arg:"--chop-head-off" help:"remove the last commit (HEAD-1)"` DeleteUntracked bool `arg:"--delete-untracked" help:"delete the untracked files"` } |
