diff options
Diffstat (limited to 'theMagicOfAutocomplete.go')
| -rw-r--r-- | theMagicOfAutocomplete.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/theMagicOfAutocomplete.go b/theMagicOfAutocomplete.go index a5516d2..902f1ea 100644 --- a/theMagicOfAutocomplete.go +++ b/theMagicOfAutocomplete.go @@ -15,6 +15,14 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) +// this is sill in development +// figure out how to trigger this +var argBash ArgsBash + +type ArgsBash struct { + Bash bool `arg:"--bash" help:"generate bash completion"` +} + func Autocomplete(dest any) *Argv { me = new(AutoArgs) // todo: redo this findAppInfo(dest) // parses back to main() for argv info |
