The Archive · CLI reference · Commands
talos command
Your own commands, skills and workflows written in Markdown: list, show, expand.
Reference for TALOS CLI 0.3.3
TALOS CLI 0.5.2 is out; this page still describes 0.3.3 and updates with the next build.
A custom command is a Markdown file, for example in .talos-cli/commands/ of the project. Its arguments are available as {{arg1}}, {{arg2}}… In the interactive screen it is a slash command.
| Operation | What it does |
|---|---|
listdefault | Lists the commands, skills and workflows, with where they come from and whether they are valid. |
show | Shows one command: source, arguments and validation. |
run | Expands a command with its arguments and prints the resulting prompt. |
Without an operation, talos command runs list.
Lists the commands, skills and workflows, with where they come from and whether they are valid.
talos command listExit codes and errors1
| Code | Exit | Meaning |
|---|---|---|
COMMAND_LIST_TAKES_NO_ARGUMENTS | 70 | TALOS could not finish this action. Try again; if it happens again, keep the log for a report. |
Shows one command: source, arguments and validation.
talos command show <name>Arguments
name- The name, as the list shows it.
Expands a command with its arguments and prints the resulting prompt.
talos command run <name> [arg…]Arguments
name- The command name or id.
argoptional- Values for
{{arg1}},{{arg2}}…
- A project command runs only if the project is trusted.
Exit codes and errors1
| Code | Exit | Meaning |
|---|---|---|
COMMAND_NAME_REQUIRED | 2 | The command or the configuration is not valid. Check the command, its options and the configuration. |