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

Add inquirer module #84

Closed
Jonesy opened this issue Oct 19, 2023 · 2 comments · Fixed by #91
Closed

Add inquirer module #84

Jonesy opened this issue Oct 19, 2023 · 2 comments · Fixed by #91
Assignees
Labels
enhancement New feature or request jira

Comments

@Jonesy
Copy link
Contributor

Jonesy commented Oct 19, 2023

Currently the only way to read user input is by command line arguments and flags (--name="test"), which while fine for small operations can be cumbersome for human input.

Acceptance Criteria

Implement a library that generates multi-step prompts, right now https://github.com/charmbracelet/bubbletea seems to be the best, most regularly maintained option. Charm are well regarded in the Go CLI space, and we use their Lipgloss library for styling. Ideally would be implemented for the following commands:

  • apply
  • generate-config
  • namespace
  • publish-gateway
  • login (maybe)
@Jonesy Jonesy added enhancement New feature or request jira labels Oct 19, 2023
@Jonesy Jonesy self-assigned this Oct 19, 2023
@Jonesy Jonesy mentioned this issue Nov 20, 2023
@ikethecoder
Copy link
Member

Josh, looks good - can you make a small change and put the "client-credentials-shared-idp" template first in the list of templates. And default a filename to "gw-config.yml".

@Jonesy
Copy link
Contributor Author

Jonesy commented Dec 7, 2023

Both are done and pushed @ikethecoder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request jira
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants