Adam S Levy
Adam S Levy
This is a non-goal according to the README.
I played with this a bit but found that the use of calls to flag.Flag is limiting. This is tricky to work around and I have a feeling you wouldn't...
Just FYI the "official" upstream pflag repo is notoriously slow at merging PRs or addressing issues.
Reviewing the diff between v1.12.0 and v1.13.0 I see that v1.12.0 is actually identical to v1.13.0 in terms of code. So I am going to amend my suggestion and recommend...
I looked into this some time ago and found that it is not possible to call bash's builtins from an external program. So unless the fundamental mechanism that this completion...
Good suggestion. I asked around on the Go slack and got some suggestions. I was able to write some test code that lists all names within a package's scope using...
From my reading really the only way to achieve this is to use the `-o nospace` option to the `complete` command on install, and then append a space to all...
Most flags are like this: ``` --flag arg ``` Once arg is predicted you want to make a new flag prediction and so a space is inserted. This space is...
I never followed up on this, but long ago I figured out an elegant work around from this SO answer: https://stackoverflow.com/questions/55842705/is-it-possible-to-modify-compopts-dynamically-from-an-external-completion-comman > To solve the problem you encountered, I output...
You could detect the shell at runtime. Unfortunately this will require an additional dependency to look up the process name. ```golang import "github.com/shirou/gopsutil/process" func getShell() (string, error) { process :=...