-
Notifications
You must be signed in to change notification settings - Fork 621
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
make nerdctl.lima completion works #234
Conversation
47b4dec
to
dbc493a
Compare
992be29
to
016b001
Compare
Thanks, but |
016b001
to
ca8c865
Compare
I tested at my computer, it works: $ source <(limactl completion bash)
$ limactl start <tab>
default new
$ limactl __complete start ''
default
new
:4
Completion ended with directive: ShellCompDirectiveNoFileComp @jandubois Could you paste the output of |
This should show file names in addition to instance names. |
|
6103a70
to
9d701db
Compare
@jandubois So, in this PR, keep this behavior. |
Can we delete the CLI usage message like this? |
Which line to delete? |
All lines but the last one. The output should be like this, as in the current master $ limactl validate /dev/null
FATA[0000] failed to load YAML file "/dev/null": field `images` must be set |
Fix this at commit 80934268. $ limactl validate /dev/null
FATA[0000] failed to load YAML file "/dev/null": field `images` must be set |
72d1ef4
to
8093426
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
@jandubois Hello, is there anything to fix in this PR? |
I don't know yet. 😄 I suspect it is good now, but I will do a review tomorrow, and hopefully approve, unless I find anything new. Sorry, I haven't been paying attention during the recent updates. |
why this message is to me?……
发自我的iPhone
…------------------ Original ------------------
From: Jan Dubois ***@***.***>
Date: Thu,Sep 16,2021 2:12 PM
To: lima-vm/lima ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [lima-vm/lima] make nerdctl.lima completion works (#234)
@jandubois commented on this pull request.
In cmd/limactl/delete.go:
> } -func deleteAction(clicontext *cli.Context) error { -if clicontext.NArg() == 0 { +func deleteAction(cmd *cobra.Command, args []string) error { +if len(args) == 0 {
Again, this is unreachable code due to MinimumNArgs(1)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
You are watching the If you don't want further notifications, please unsubscribe from this issue (and change your repo notification settings, if that was the root cause). But since you've replied to the notifications, you are also subscribed to this issue now. |
thanks i know now……apology for my Recklessness
发自我的iPhone
…------------------ Original ------------------
From: Jan Dubois ***@***.***>
Date: Thu,Sep 16,2021 2:19 PM
To: lima-vm/lima ***@***.***>
Cc: 拓跋大山 ***@***.***>, Comment ***@***.***>
Subject: Re: [lima-vm/lima] make nerdctl.lima completion works (#234)
why this message is to me?……
You are watching the lima-vm/lima repository. Maybe you selected "All activity"? Or you pressed the "subscribe" button on issue #234. That's the only explanations I can come up with.
If you don't want further notifications, please unsubscribe from this issue (and change your repo notification settings, if that was the root cause). But since you've replied to the notifications, you are also subscribed to this issue now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
6f6208a
to
137b918
Compare
137b918
to
973104b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressing the shell error exit is the only remaining issue afaict, so pre-emptively approving before I go to sleep... 😸
25b974c
to
50109f9
Compare
|
Could you squash commits? |
I'm sorry, I think that is my fault: I asked for I believe this, and the squashing of commits are the only outstanding issues now. |
50109f9
to
60507d5
Compare
@AkihiroSuda I think it's time to merge. |
Thank you! |
--
.(limactl shell default -- echo --help
can work now)