| Crates.io | nu_plugin_dialog |
| lib.rs | nu_plugin_dialog |
| version | 0.2.0 |
| created_at | 2023-04-08 15:36:46.29826+00 |
| updated_at | 2023-04-10 09:50:45.379018+00 |
| description | A nushell plugin for user interaction |
| homepage | |
| repository | https://github.com/Trivernis/nu-plugin-dialog |
| max_upload_size | |
| id | 833643 |
| size | 90,736 |
This plugin adds more options to prompt for user input to nushell. It mainly uses the dialoguer crate for prompts.
# select a file
let selected_file = ( ls / | get name | ask select $in --fuzzy --prompt "Select a file" )
# ask for confirmation
let quit = ( ask confirm "Are you sure that you want to quit?" --default false )
if $quit {
exit
}
For more information run ask --help or pass -- help to the subcommands.
CNPLv7+