mirror of
https://github.com/sagiegurari/duckscript
synced 2024-11-02 19:42:53 +00:00
docs
This commit is contained in:
parent
39b57e7852
commit
9971e20750
2 changed files with 2 additions and 2 deletions
|
@ -340,7 +340,7 @@ Commands are structs that must implement the Command trait.<br>
|
|||
* They must have a name, which is used to invoke the command.<br>
|
||||
* They optionally may have aliases which can also be used to invoke the command.<br>
|
||||
* They should return help documentation in markdown format in order to generate SDK documentation (must for PRs to duckscript official SDK).<br>
|
||||
* hey must implement the **run** function which holds the command logic.<br>
|
||||
* They must implement the **run** function which holds the command logic.<br>
|
||||
|
||||
The run function accepts the command arguments (variables already replaced to actual values) and returns the command result.<br>
|
||||
The command result can be one of the following:
|
||||
|
|
|
@ -297,7 +297,7 @@ Commands are structs that must implement the Command trait.<br>
|
|||
* They must have a name, which is used to invoke the command.<br>
|
||||
* They optionally may have aliases which can also be used to invoke the command.<br>
|
||||
* They should return help documentation in markdown format in order to generate SDK documentation (must for PRs to duckscript official SDK).<br>
|
||||
* hey must implement the **run** function which holds the command logic.<br>
|
||||
* They must implement the **run** function which holds the command logic.<br>
|
||||
|
||||
The run function accepts the command arguments (variables already replaced to actual values) and returns the command result.<br>
|
||||
The command result can be one of the following:
|
||||
|
|
Loading…
Reference in a new issue