Commands
In Kasic almost all code wrote is invoking commands. In Kasic all commands adhear to the following structure.
command -[FLAGS] [Arguments]
How to read the command docs
Each command in Kasic is documented bellow. In each description the command structure is layed-out as followed. Follow this example to understand what each property represents.
name
: The word used to invoke the command
min
: The minimum number of arguments needed
max
: The maximum number of arguments accepted
arguments
: The types that each argument accepts
flags
: Arguments proceded by -
to invoke different behaviuor
name: 'replace'
min: 3
max: 3
flags:
- name: 'i'
description: 'ignores the case of the string to be replaced'
arguments:
- string
- string
- string
return: string