v0.8.5
v0.8.5 main v0.8.4 v0.8.3 v0.8.2 v0.8.1 v0.8.0

Command

[edit]
You are looking at the docs for an older version (v0.8.5). The latest version is main.

Help Text


xc <task> [inputs...]
  Run a task from an xc-compatible markdown file.
  If -file is not specified and no README.md is found in the current directory,
    xc will search in parent directories for convenience.
  -f -file <string>
        Specify a markdown file that contains tasks (default: "README.md").
  -d -display
        Print the markdown code of a task rather than running it.
  -H -heading <string>
        Specify the heading for xc tasks (default: "Tasks").

xc
  Interactive picker for xc tasks.
  If -file is not specified and no README.md is found in the current directory,
    xc will search in parent directories for convenience.
  -s -short
        List task names in a short format.
  -no-tty
	Disable interactive mode.
  -h -help
        Print this help text.
  -f -file <string>
        Specify a markdown file that contains tasks (default: "README.md").
  -H -heading <string>
        Specify the heading for xc tasks (default: "Tasks").
  -V -version
        Show xc version.
  -complete
        Install shell completion for xc.
  -uncomplete
        Uninstall shell completion for xc.


Examples

xc deploy - runs a task named deploy

xc deploy production - runs a task named deploy with a single input production

PLATFORM=linux xc build - runs a task named build with a single input PLATFORM with the value linux