diff options
| author | Jeff Carr <[email protected]> | 2025-10-26 10:30:28 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-26 10:30:28 -0500 |
| commit | 0423bb1a76d9c68abcba1265f938288180a8f018 (patch) | |
| tree | 743e2d0263b0091ce76e974fad7d9994371fce1c /argv.go | |
| parent | 5d2e3280ee4c6cc50b9d785ffb6731128108b3e5 (diff) | |
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + +package main + +var argv args + +type args struct { + Restore string `arg:"--restore" help:"restore terminal windows from a config file"` + Save *EmptyCmd `arg:"subcommand:save" help:"save current window geometries to the your config file"` + DumpX *EmptyCmd `arg:"subcommand:dumpx" help:"show your current window geometries"` + Dump *EmptyCmd `arg:"subcommand:dump" help:"show your current window geometries"` + List *EmptyCmd `arg:"subcommand:list" help:"list entries in your config file"` + Force bool `arg:"--force" help:"try to strong arm things"` + Verbose bool `arg:"--verbose" help:"show more output"` + Bash bool `arg:"--bash" help:"generate bash completion"` + BashAuto []string `arg:"--auto-complete" help:"todo: move this to go-arg"` +} + +type EmptyCmd struct { +} |
