Basic Rules
When defining commands in Sake, there are a few important things to know:
- Visibility: Only
public
commands are visible for execution. This allows you to define internal commands that are not meant to be run directly. By marking some commands as non-public, you can control which commands are exposed for execution. - Static declaration: Only
static
commands are supported in Sake. All commands must be declared asstatic
within the command group or main structure. - Command Type: Only commands of type
Command
orSake.Command
are supported. Typealiases for commands will not work.