Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid subcommand #13

Closed
N4tus opened this issue Oct 16, 2021 · 2 comments
Closed

invalid subcommand #13

N4tus opened this issue Oct 16, 2021 · 2 comments

Comments

@N4tus
Copy link

N4tus commented Oct 16, 2021

calling kn results in an invalid sub-command error.

$ cd ~
$ kn .cargo
Value of arg `subcommand` is invalid.
@micouy
Copy link
Owner

micouy commented Oct 17, 2021

I couldn't reproduce this behavior. Which shell are you using? Can I see your _kn init invocation (in your shell's startup file)? What's the output of this invocation? For example, if your startup file looks like this:

_kn init --shell fish | source

then what's the output of the command below?

$ _kn init --shell fish

@N4tus
Copy link
Author

N4tus commented Oct 17, 2021

I initialized kn and starship in on go. And that does not work so the init command was never executed. Separating them in just two separate commands works (order does not matter).

starship init fish | source
_kn init --shell fish | source

Sorry for the inconvenience.

@N4tus N4tus closed this as completed Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants