low-dependency command line interface to vscode tasks.json files
$ git clone ...
$ cd vscode-tasks
$ cargo build --release
By default, vscode-tasks
checks recursively from current working directory through
parent directories for a file named .vscode/tasks.json
.
help is displayed by default:
$ ./target/release/vscode-tasks
display usage for a specific task:
$ ./target/release/vscode-tasks help <task>
$ ./target/release/vscode-tasks <task> --help
run a task:
$ ./target/release/vscode-tasks <task> [options]
tasks.json
search path can be overridden with the VSCODE_TASKS_CONFIG_PATH
environment variable.
$ VSCODE_TASKS_CONFIG_PATH="examples/tasks.json" cargo run -- <task>
$ cargo test
tasks.json variables reference