Skip to content

fix(core): fix autocomplete edge cases#811

Merged
Sh4d1 merged 6 commits intoscaleway:v2from
Sh4d1:issue_810
Apr 23, 2020
Merged

fix(core): fix autocomplete edge cases#811
Sh4d1 merged 6 commits intoscaleway:v2from
Sh4d1:issue_810

Conversation

@Sh4d1
Copy link
Copy Markdown
Contributor

@Sh4d1 Sh4d1 commented Mar 26, 2020

Fixes #810

  • a test is removed since it's never used in real world: autocompletion is only called once the command in typed and a space is added

Signed-off-by: Patrik Cyvoct pcyvoct@scaleway.com

@jerome-quere
Copy link
Copy Markdown
Contributor

Instead of replacing hardcoded scw by os.Args[0] it could be a better idea to make BinaryName a parameter in the BootstrapConfig this config could be accessible through context where needed

Sh4d1 and others added 5 commits April 22, 2020 19:28
Signed-off-by: Patrik Cyvoct <pcyvoct@scaleway.com>
Signed-off-by: Patrik Cyvoct <pcyvoct@scaleway.com>
Signed-off-by: Patrik Cyvoct <pcyvoct@scaleway.com>
Signed-off-by: Patrik Cyvoct <pcyvoct@scaleway.com>
Copy link
Copy Markdown
Contributor

@jerome-quere jerome-quere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Sh4d1 Sh4d1 merged commit 8686ed2 into scaleway:v2 Apr 23, 2020
clement-gilbert pushed a commit to clement-gilbert/scaleway-cli that referenced this pull request Mar 3, 2022
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
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

Successfully merging this pull request may close these issues.

Autocomplete not working when using in shell functions or different binary name

2 participants