Basic Rules
When defining commands in Sake, there are a few important things to know:
- Visibility: Only
publiccommands 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
staticcommands are supported in Sake. All commands must be declared asstaticwithin the command group or main structure. - Command Type: Only commands of type
CommandorSake.Commandare supported. Typealiases for commands will not work.