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

ui: Provide simple TUI prompts for CLI commands #238

Open
ethanjli opened this issue Jun 13, 2024 · 0 comments
Open

ui: Provide simple TUI prompts for CLI commands #238

ethanjli opened this issue Jun 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ethanjli
Copy link
Member

ethanjli commented Jun 13, 2024

Currently, the only way to set inputs to CLI commands is to provide them as command-line arguments, which can be awkward (e.g. with the [dev] plt add-depl subcommand and its optional flags for setting feature flags). It would be nice if any CLI subcommand with required arguments could be invoked without any arguments, to trigger a simple TUI (e.g. https://github.com/charmbracelet/huh) for getting the arguments in a more user-friendly way. This could also be used to:

We should add an optional global flag (e.g. --noninteractive/--nonint, or --frontend=nonint) to error out instead of going to a TUI when CLI args are underspecified.

@ethanjli ethanjli added the enhancement New feature or request label Jun 13, 2024
@ethanjli ethanjli self-assigned this Jun 14, 2024
@ethanjli ethanjli added this to the Preprint Nice-to-Haves milestone Jun 14, 2024
@ethanjli ethanjli changed the title Provide simple TUIs for CLI commands ui: Provide simple TUIs for CLI commands Jun 14, 2024
@ethanjli ethanjli changed the title ui: Provide simple TUIs for CLI commands ui: Provide simple TUI prompts for CLI commands Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant