Closed pattobrien closed 1 year ago
This is caused because the executableName
of your command runner is "Sidecar CLI" which is invalid (should be one word or separated by _ or -). executableName
should be the same as the one on the pubspec.yaml
under the field executables
.
Oh yeah, I guess that makes sense... I thought that name was supposed to represent a friendly name, not the actual executable name.
I changed it and no longer get the issue - thanks a lot for the help @renancaraujo!
Description
I'm receiving the following error after the first installation of
cli_completion
(viasidecar init
from my package sidecar).Steps To Reproduce
sidecar init
(which usescli_completion
as the command runner)Expected Behavior
No error / proper use of
cli_completion
.Additional Context
Here's the contents of the generated
~/.dart-cli-completion/zsh-config.zsh
file:I haven't looked into how to resolve the issue manually, as I'm not sure the intention of the above script. Any advice on how to proceed would be appreciated; thanks!