Expand description
Wrapper functions around dialoguer
to support Pijul’s different modes of interactivity.
Structs§
- Confirm
- A prompt that asks the user to select yes or no
- Input
- A prompt that asks the user to enter text input
- Password
- A prompt that asks the user to enter a password
- Progress
Bar - A progress bar that is controlled by code
- Select
- A prompt that asks the user to choose from a list of items.
- Spinner
- An animated progress bar to indicate activity
Enums§
- Interaction
Error - Errors that can occur while attempting to interact with the user
- Interactive
Context - Different contexts for interacting with Pijul, for example terminal or web browser
- Prompt
Type - The different kinds of available prompts
Constants§
Functions§
- get_
context - Get the interactive context. If not set, returns an error.
- set_
context - Set the interactive context, panicking if already set.