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

recommendations CLI: autocomplete support #9317

Merged
merged 3 commits into from
Nov 11, 2020

Conversation

cgbaker
Copy link
Contributor

@cgbaker cgbaker commented Nov 11, 2020

relies on and provides structure for /v1/search support in Enterprise, which will be merged next

the autocomplete support is redundant across all of the supported commands: apply, dismiss, and info, and I just copied it between them. this seems a little gross, but it's the same pattern used in the nomad job commands and nomad deployment commands (where it is repeated 6 times)

update: refactored to reduce redundancy in autocomplete code. 🤷

Copy link
Member

@shoenig shoenig left a comment

Choose a reason for hiding this comment

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

LGTM!

@cgbaker cgbaker merged commit 521f46b into master Nov 11, 2020
@cgbaker cgbaker deleted the f-recommendations-cli-autocomplete branch November 11, 2020 18:04
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants