Describe the bug
Following these instructions I ran into an error (first screenshot below). I half expected it to not work since I use Fish and only bash and zsh are listed in the documentation. Tested with zsh and bash as well and found that it wasn't a fish specific issue (second screenshot)
To Reproduce
See Above
Expected behavior
With the wording of the command, scout install-completion-script, I expect that the cli would detect which shell I'm using and, in my case, create the file $HOME/.config/fish/completions/scout.fish with the completions in there. Or, if I was using bash/zsh, append the appropriate completions to $HOME/.bashrc or $HOME/.zshrc.
Current behavior
Like the screenshots below, the cli errored out and gave a bad url.
Screenshots
Additional context
When I went to apple/swift-argument-parser repo I found this and tried out scout --generate-completion-script fish and it worked! Also tested for bash and zsh which also work fine (for generation, not installation).
So I went ahead and ran scout --generate-completion-script fish > $fish_complete_path[1]/scout.fish and it worked brilliantly.
And apparently bash, fish and zsh are the extent of the generate-completion system. I don't use xonsh, but figured I'd try it.

Describe the bug
Following these instructions I ran into an error (first screenshot below). I half expected it to not work since I use Fish and only bash and zsh are listed in the documentation. Tested with zsh and bash as well and found that it wasn't a fish specific issue (second screenshot)
To Reproduce
See Above
Expected behavior
With the wording of the command,
scout install-completion-script, I expect that the cli would detect which shell I'm using and, in my case, create the file$HOME/.config/fish/completions/scout.fishwith the completions in there. Or, if I was using bash/zsh, append the appropriate completions to$HOME/.bashrcor$HOME/.zshrc.Current behavior
Like the screenshots below, the cli errored out and gave a bad url.
Screenshots
Additional context
When I went to apple/swift-argument-parser repo I found this and tried out
scout --generate-completion-script fishand it worked! Also tested for bash and zsh which also work fine (for generation, not installation).So I went ahead and ran
scout --generate-completion-script fish > $fish_complete_path[1]/scout.fishand it worked brilliantly.And apparently bash, fish and zsh are the extent of the generate-completion system. I don't use xonsh, but figured I'd try it.