diff options
| author | ewy <ewy0@protonmail.com> | 2026-05-17 01:37:24 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-05-17 01:37:24 +0200 |
| commit | f5807d9f3a6c96e70912b61fac17120f412b5782 (patch) | |
| tree | d6928795e06b1af000ffba2ae50bb6f8f7b72685 /flags/flags.go | |
| parent | 7984fd9beaa7c903288142818cb328c584a139a5 (diff) | |
* integration tests with a pik target to run them
* add abstraction for paths to facilitate unit tests
* flesh out completion (--install-completion)
* do sync init before stateless modes so list knows more
Diffstat (limited to 'flags/flags.go')
| -rw-r--r-- | flags/flags.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/flags/flags.go b/flags/flags.go index f349ce7..d8ac537 100644 --- a/flags/flags.go +++ b/flags/flags.go @@ -26,7 +26,8 @@ var ( List = pflag.BoolP("list", "l", false, "list available targets and exit") // Inline means pik does not go to the terminal alt screen // unused because it is accessed by `flags.Get("inline")` - Inline = pflag.BoolP("inline", "i", false, "if true, will force alt screen; if forced false, will disable alt screen") - Edit = pflag.Bool("edit", false, "edit the target in $EDITOR") - Completion = pflag.Bool("completion", false, "echo completion scrip and exit") + Inline = pflag.BoolP("inline", "i", false, "if true, will force alt screen; if forced false, will disable alt screen") + Edit = pflag.Bool("edit", false, "edit the target in $EDITOR") + Completion = pflag.Bool("completion", false, "echo completion scrip and exit") + InstallCompletion = pflag.Bool("install-completion", false, "install completion script to shell rc") ) |
