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 support for prompts #3422

Open
hojberg opened this issue Sep 15, 2022 · 2 comments
Open

Add support for prompts #3422

hojberg opened this issue Sep 15, 2022 · 2 comments
Labels

Comments

@hojberg
Copy link
Member

hojberg commented Sep 15, 2022

UCM could allow for some really nice UX if we supported prompts. This comes in several forms:

  1. A simple way for a user to confirm a question. This could be "download base into lib.base" or "Looks like you're pushing to a new location on Share. Do you want to create a new namespace there?"
  2. A way to collect more detailed information from the user. This could be wizard for creating an author, prompting the user for their name. Or a picklist, prompting the user to pick a license for their project.

It's a bit of an unknown, how much effort this would be to implement, so a fair amount of derisk and investigation is needed upfront.

@hojberg
Copy link
Member Author

hojberg commented Sep 20, 2022

Note that a requirement is that prompts work in Transcripts.

@runarorama
Copy link
Contributor

I'd prefer if yes/no prompts worked like numbered arguments: a kind of temporary state for the CLI. So instead of being modal, you just type "yes" as the next command, which gets interpreted as your having typed the suggested command. If you type any other command, the CLI just moves on.

But yeah, separately from that it would be nice to be able to prompt for an Author and License.

@aryairani aryairani added workflow and removed codebase-manager / ucm Issues related to the codebase editor CLI application (ucm) papercut ucm-ux labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants