Add default arg to info question type

This commit is contained in:
Rezart Qelibari
2022-02-13 23:14:56 +01:00
parent 302956c7e1
commit da96cc2cf0
4 changed files with 75 additions and 11 deletions

View File

@@ -34,7 +34,7 @@ The letter at the beginning is the question type:
| Question type | Description | Arguments |
| ------------- | ----------- | --------- |
| i (info) | A question where the user has no restrictions on input | - |
| i (info) | A question where the user has no restrictions on input | `default`: a default answer. |
| p (password) | A question where the user input is not printed to standard output. | - |
| c (confirm) | A yes/no question where the user is allowed to answer yes or no. | - |
| s (select) | A list of choices where the user can select one using numbers. | `choose from`: a comma separated list of possible select values. |