Create a Qikfile
Questioning the user

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:

TypeDescription
yonYes or no question
varVariable 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:

ActionDescription
EDIT_JSONSet the value of a value in a JSON
EDIT_TOMLSet the value of a value in a TOML
EDIT_DOTENVSet the value of a value in a .ENV
EDIT_JSONCSet the value of a value in a JSONC
EXECExecute a command
VOIDDo 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