diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 30 |
1 files changed, 15 insertions, 15 deletions
@@ -11,16 +11,16 @@ package main var argv args type args struct { - Git *GitCmd `arg:"subcommand:git" help:"git stuff"` Build *BuildCmd `arg:"subcommand:build" help:"build and install things"` + Upgrade *UpgradeCmd `arg:"subcommand:upgrade" help:"apt upgrade packages installed from mirrors.wit.com"` + Git *GitCmd `arg:"subcommand:git" help:"git stuff"` + Publish *PublishCmd `arg:"subcommand:publish" help:"publish packages"` ListPkgs *EmptyCmd `arg:"subcommand:list" help:"list all the packages on mirrors.wit.com"` Clone *CloneCmd `arg:"subcommand:go-clone" help:"go-clone from a gowebd repomap"` Linux *LinuxCmd `arg:"subcommand:linux" help:"helpful linux things"` Zoo *EmptyCmd `arg:"subcommand:zoo" help:"WIT Private Cloud info"` PB *ProtoCmd `arg:"subcommand:pb" help:"example .pb files"` 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"` Test *TestCmd `arg:"subcommand:test" help:"test things"` RepoMap string `arg:"--repomap" help:"location of the repomap"` DryRun bool `arg:"--dry-run" help:"only show what would be packaged"` @@ -36,7 +36,7 @@ type args struct { type BuildCmd struct { Debian *DebianCmd `arg:"subcommand:deb" help:"build missing .deb packages"` MacBuild *EmptyCmd `arg:"subcommand:macos" help:"build macos packages"` - Install *DefaultCmd `arg:"subcommand:install" help:"run make install in each repo"` + Install *InstallCmd `arg:"subcommand:install" help:"run make install in each repo"` } type ProtoCmd struct { @@ -53,18 +53,19 @@ type TestCmd struct { } type LinuxCmd struct { - Rdate *EmptyCmd `arg:"subcommand:rdate" help:"rdate: check the time from the network"` + Rdate *EmptyCmd `arg:"subcommand:rdate" help:"rdate: check the time from the network"` + Reboots *EmptyCmd `arg:"subcommand:reboots" help:"show reboots"` + Dmesg *EmptyCmd `arg:"subcommand:dmesg" help:"show last dmesg"` } type DebianCmd struct { - Release bool `arg:"--release" help:"use go-deb --release"` - DryRun bool `arg:"--dry-run" help:"only show what would be packaged"` - Verbose bool `arg:"--verbose" help:"be loud about it"` - Force bool `arg:"--force" help:"force devel .deb builds into /incoming"` - Priv bool `arg:"--private" help:"build private repos"` - All bool `arg:"--all" help:"build everything again"` - BuildVersion int `arg:"--buildversion" help:"the build version"` - Arch string `arg:"--arch" help:"what arch"` + All bool `arg:"--all" help:"build everything again"` + DryRun bool `arg:"--dry-run" help:"only show what would be packaged"` + Release bool `arg:"--release" help:"use go-deb --release"` + Verbose bool `arg:"--verbose" help:"be loud about it"` + Force bool `arg:"--force" help:"force devel .deb builds into /incoming"` + Priv bool `arg:"--private" help:"build private repos"` + Arch string `arg:"--arch" help:"what arch"` } type CloneCmd struct { @@ -85,10 +86,9 @@ type PublishCmd struct { Gomod bool `arg:"--keep-gomod" help:"don't really do anything"` } -type DefaultCmd struct { +type InstallCmd struct { DryRun bool `arg:"--dry-run" help:"show what has not yet come to pass"` Verbose bool `arg:"--verbose" help:"be loud about it"` - Force bool `arg:"--force" help:"rebuild everything"` } type GitCmd struct { |
