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 generated from the npm package · released

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.

OperationWhat 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 list
Exit codes and errors1
CodeExitMeaning
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.
Exit codes and errors2
CodeExitMeaning
COMMAND_NAME_REQUIRED 2 The command or the configuration is not valid. Check the command, its options and the configuration.
COMMAND_SHOW_TAKES_ONE_NAME 70 TALOS could not finish this action. Try again; if it happens again, keep the log for a report.

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
CodeExitMeaning
COMMAND_NAME_REQUIRED 2 The command or the configuration is not valid. Check the command, its options and the configuration.

Type to search the guides.