diff options
| author | Jeff Carr <[email protected]> | 2025-10-11 08:54:40 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-11 09:26:40 -0500 |
| commit | 20c8b7a721064197d42b8f1447abfca98d7bd350 (patch) | |
| tree | 8f0aa2c4b5c400f278d4aa9a035b315e263ab3d8 /argv.go | |
| parent | 8561ed36abf865c261184dea856c42c20f01d155 (diff) | |
working on finding the newest packages
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -23,6 +23,7 @@ type args struct { Verify *EmptyCmd `arg:"subcommand:verify" help:"verify the pb is accurate and doesn't have errors"` Incoming *IncomingCmd `arg:"subcommand:incoming" help:"handle the incoming directory"` MakeDists *EmptyCmd `arg:"subcommand:makedists" help:"make debian mirrors/dists files for 'apt update'"` + Newest *EmptyCmd `arg:"subcommand:newest" help:"make a list of the newest .deb packages"` 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:"rebuild everything"` @@ -52,7 +53,7 @@ func (args) Appname() string { } func (a args) DoAutoComplete(pb *prep.Auto) { - base := []string{"--version", "oldway", "--dry-run", "--force", "incoming", "walk", "list", "makedists", "verify"} + base := []string{"--version", "oldway", "--dry-run", "--force", "incoming", "walk", "list", "makedists", "verify", "newest"} if pb.Cmd == "" { pb.Autocomplete3(base) |
