|
|
@ -100,11 +100,21 @@ register /home/trivernis/.cargo/bin/nu_plugin_dialog {
|
|
|
|
|
|
|
|
|
|
|
|
register /home/trivernis/.cargo/bin/nu_plugin_dialog {
|
|
|
|
register /home/trivernis/.cargo/bin/nu_plugin_dialog {
|
|
|
|
"sig": {
|
|
|
|
"sig": {
|
|
|
|
"name": "ask password",
|
|
|
|
"name": "ask multiselect",
|
|
|
|
"usage": "Prompt the user with a password input.",
|
|
|
|
"usage": "Prompt the user with a selection prompt.",
|
|
|
|
"extra_usage": "",
|
|
|
|
"extra_usage": "",
|
|
|
|
"search_terms": [],
|
|
|
|
"search_terms": [],
|
|
|
|
"required_positional": [],
|
|
|
|
"required_positional": [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"name": "items",
|
|
|
|
|
|
|
|
"desc": "The items out of which one can be selected.",
|
|
|
|
|
|
|
|
"shape": {
|
|
|
|
|
|
|
|
"List": "String"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"var_id": null,
|
|
|
|
|
|
|
|
"default_value": null
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
],
|
|
|
|
"optional_positional": [],
|
|
|
|
"optional_positional": [],
|
|
|
|
"rest_positional": null,
|
|
|
|
"rest_positional": null,
|
|
|
|
"vectorizes_over_list": false,
|
|
|
|
"vectorizes_over_list": false,
|
|
|
@ -119,29 +129,29 @@ register /home/trivernis/.cargo/bin/nu_plugin_dialog {
|
|
|
|
"default_value": null
|
|
|
|
"default_value": null
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"long": "prompt",
|
|
|
|
"long": "abortable",
|
|
|
|
"short": null,
|
|
|
|
"short": null,
|
|
|
|
"arg": "String",
|
|
|
|
"arg": null,
|
|
|
|
"required": false,
|
|
|
|
"required": false,
|
|
|
|
"desc": "The prompt to this password input",
|
|
|
|
"desc": "If set users can abort the prompt.",
|
|
|
|
"var_id": null,
|
|
|
|
"var_id": null,
|
|
|
|
"default_value": null
|
|
|
|
"default_value": null
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"long": "confirm",
|
|
|
|
"long": "prompt",
|
|
|
|
"short": null,
|
|
|
|
"short": null,
|
|
|
|
"arg": null,
|
|
|
|
"arg": "String",
|
|
|
|
"required": false,
|
|
|
|
"required": false,
|
|
|
|
"desc": "Prompts the user twice for matching password inputs",
|
|
|
|
"desc": "An optional prompt that can be shown to the user for the selection.",
|
|
|
|
"var_id": null,
|
|
|
|
"var_id": null,
|
|
|
|
"default_value": null
|
|
|
|
"default_value": null
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"long": "allow-empty",
|
|
|
|
"long": "default",
|
|
|
|
"short": null,
|
|
|
|
"short": null,
|
|
|
|
"arg": null,
|
|
|
|
"arg": "String",
|
|
|
|
"required": false,
|
|
|
|
"required": false,
|
|
|
|
"desc": "Allows the user to input an empty password",
|
|
|
|
"desc": "The default selections as a comma separated string of indices",
|
|
|
|
"var_id": null,
|
|
|
|
"var_id": null,
|
|
|
|
"default_value": null
|
|
|
|
"default_value": null
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -160,21 +170,11 @@ register /home/trivernis/.cargo/bin/nu_plugin_dialog {
|
|
|
|
|
|
|
|
|
|
|
|
register /home/trivernis/.cargo/bin/nu_plugin_dialog {
|
|
|
|
register /home/trivernis/.cargo/bin/nu_plugin_dialog {
|
|
|
|
"sig": {
|
|
|
|
"sig": {
|
|
|
|
"name": "ask select",
|
|
|
|
"name": "ask password",
|
|
|
|
"usage": "Prompt the user with a selection prompt.",
|
|
|
|
"usage": "Prompt the user with a password input.",
|
|
|
|
"extra_usage": "",
|
|
|
|
"extra_usage": "",
|
|
|
|
"search_terms": [],
|
|
|
|
"search_terms": [],
|
|
|
|
"required_positional": [
|
|
|
|
"required_positional": [],
|
|
|
|
{
|
|
|
|
|
|
|
|
"name": "items",
|
|
|
|
|
|
|
|
"desc": "The items out of which one can be selected.",
|
|
|
|
|
|
|
|
"shape": {
|
|
|
|
|
|
|
|
"List": "String"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"var_id": null,
|
|
|
|
|
|
|
|
"default_value": null
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"optional_positional": [],
|
|
|
|
"optional_positional": [],
|
|
|
|
"rest_positional": null,
|
|
|
|
"rest_positional": null,
|
|
|
|
"vectorizes_over_list": false,
|
|
|
|
"vectorizes_over_list": false,
|
|
|
@ -189,38 +189,29 @@ register /home/trivernis/.cargo/bin/nu_plugin_dialog {
|
|
|
|
"default_value": null
|
|
|
|
"default_value": null
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"long": "fuzzy",
|
|
|
|
"long": "prompt",
|
|
|
|
"short": null,
|
|
|
|
"short": null,
|
|
|
|
"arg": null,
|
|
|
|
"arg": "String",
|
|
|
|
"required": false,
|
|
|
|
"required": false,
|
|
|
|
"desc": "To add a fuzzy search to the select.",
|
|
|
|
"desc": "The prompt to this password input",
|
|
|
|
"var_id": null,
|
|
|
|
"var_id": null,
|
|
|
|
"default_value": null
|
|
|
|
"default_value": null
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"long": "abortable",
|
|
|
|
"long": "confirm",
|
|
|
|
"short": null,
|
|
|
|
"short": null,
|
|
|
|
"arg": null,
|
|
|
|
"arg": null,
|
|
|
|
"required": false,
|
|
|
|
"required": false,
|
|
|
|
"desc": "If set users can abort the prompt.",
|
|
|
|
"desc": "Prompts the user twice for matching password inputs",
|
|
|
|
"var_id": null,
|
|
|
|
|
|
|
|
"default_value": null
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"long": "prompt",
|
|
|
|
|
|
|
|
"short": null,
|
|
|
|
|
|
|
|
"arg": "String",
|
|
|
|
|
|
|
|
"required": false,
|
|
|
|
|
|
|
|
"desc": "An optional prompt that can be shown to the user for the selection.",
|
|
|
|
|
|
|
|
"var_id": null,
|
|
|
|
"var_id": null,
|
|
|
|
"default_value": null
|
|
|
|
"default_value": null
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"long": "default",
|
|
|
|
"long": "allow-empty",
|
|
|
|
"short": null,
|
|
|
|
"short": null,
|
|
|
|
"arg": "Number",
|
|
|
|
"arg": null,
|
|
|
|
"required": false,
|
|
|
|
"required": false,
|
|
|
|
"desc": "The default selection.",
|
|
|
|
"desc": "Allows the user to input an empty password",
|
|
|
|
"var_id": null,
|
|
|
|
"var_id": null,
|
|
|
|
"default_value": null
|
|
|
|
"default_value": null
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -237,17 +228,19 @@ register /home/trivernis/.cargo/bin/nu_plugin_dialog {
|
|
|
|
"examples": []
|
|
|
|
"examples": []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
register /home/trivernis/Documents/Programming/nu_plugin_dialog/target/debug/nu_plugin_dialog {
|
|
|
|
register /home/trivernis/.cargo/bin/nu_plugin_dialog {
|
|
|
|
"sig": {
|
|
|
|
"sig": {
|
|
|
|
"name": "confirm",
|
|
|
|
"name": "ask select",
|
|
|
|
"usage": "Prompt the user with a confirmation prompt.",
|
|
|
|
"usage": "Prompt the user with a selection prompt.",
|
|
|
|
"extra_usage": "",
|
|
|
|
"extra_usage": "",
|
|
|
|
"search_terms": [],
|
|
|
|
"search_terms": [],
|
|
|
|
"required_positional": [
|
|
|
|
"required_positional": [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"name": "prompt",
|
|
|
|
"name": "items",
|
|
|
|
"desc": "The question to ask the user.",
|
|
|
|
"desc": "The items out of which one can be selected.",
|
|
|
|
"shape": "String",
|
|
|
|
"shape": {
|
|
|
|
|
|
|
|
"List": "String"
|
|
|
|
|
|
|
|
},
|
|
|
|
"var_id": null,
|
|
|
|
"var_id": null,
|
|
|
|
"default_value": null
|
|
|
|
"default_value": null
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -265,10 +258,37 @@ register /home/trivernis/Documents/Programming/nu_plugin_dialog/target/debug/nu_
|
|
|
|
"var_id": null,
|
|
|
|
"var_id": null,
|
|
|
|
"default_value": null
|
|
|
|
"default_value": null
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"long": "fuzzy",
|
|
|
|
|
|
|
|
"short": null,
|
|
|
|
|
|
|
|
"arg": null,
|
|
|
|
|
|
|
|
"required": false,
|
|
|
|
|
|
|
|
"desc": "To add a fuzzy search to the select.",
|
|
|
|
|
|
|
|
"var_id": null,
|
|
|
|
|
|
|
|
"default_value": null
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"long": "abortable",
|
|
|
|
|
|
|
|
"short": null,
|
|
|
|
|
|
|
|
"arg": null,
|
|
|
|
|
|
|
|
"required": false,
|
|
|
|
|
|
|
|
"desc": "If set users can abort the prompt.",
|
|
|
|
|
|
|
|
"var_id": null,
|
|
|
|
|
|
|
|
"default_value": null
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"long": "prompt",
|
|
|
|
|
|
|
|
"short": null,
|
|
|
|
|
|
|
|
"arg": "String",
|
|
|
|
|
|
|
|
"required": false,
|
|
|
|
|
|
|
|
"desc": "An optional prompt that can be shown to the user for the selection.",
|
|
|
|
|
|
|
|
"var_id": null,
|
|
|
|
|
|
|
|
"default_value": null
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"long": "default",
|
|
|
|
"long": "default",
|
|
|
|
"short": null,
|
|
|
|
"short": null,
|
|
|
|
"arg": "Boolean",
|
|
|
|
"arg": "Number",
|
|
|
|
"required": false,
|
|
|
|
"required": false,
|
|
|
|
"desc": "The default selection.",
|
|
|
|
"desc": "The default selection.",
|
|
|
|
"var_id": null,
|
|
|
|
"var_id": null,
|
|
|
|