Question
The [QUESTION]
parameter allows questions to be put to the user, and actions to be performed according to the answers. These are divided into two types:
Type | Description |
---|---|
yon | Yes or no question |
var | Variable question |
Structure
(type) [default] question ; action
⚠️
If you use an action that allows you to modify a file while using a question of type yon
, you must enclose your action in brackets.
Type
The type of question. The list of types available here.
Default
The default value of the question. This is optional for var type question.
Question
The question to be asked to the user.
Action
The action to be performed according to the answer. The list of actions available:
Action | Description |
---|---|
EDIT_JSON | Set the value of a value in a JSON |
EDIT_TOML | Set the value of a value in a TOML |
EDIT_DOTENV | Set the value of a value in a .ENV |
EDIT_JSONC | Set the value of a value in a JSONC |
EXEC | Execute a command |
VOID | Do nothing |
EDIT_JSON
EDIT_JSON : file[key] : value
EDIT_TOML
EDIT_TOML : file[key] : value
EDIT_DOTENV
EDIT_DOTENV : file[key] : value
EDIT_JSONC
EDIT_JSONC : file[key] : value
EXEC
EXEC command
ℹ️
Commands are compatible with Qik custom commands. Available here.
VOID
VOID