main
main v0.8.0 v0.7.0 v0.6.0 v0.5.0 v0.4.1 v0.4.0

Command

[edit]

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