CommandTree
One sidebar. Every command.
commandtree.dev
CommandTree scans your project and surfaces all runnable commands across 22 tool types in a single tree view. Filter by tag, and run in terminal or debugger.
AI Summaries — temporarily removed
The Copilot-powered AI summary feature has been temporarily removed in 0.11.0 while a safer rollout is designed (see [issue #20](https://github.com/Nimblesite/CommandTree/issues/20)). It will return once the extension can guarantee request volume is bounded, premium models are not used silently, and the user is asked before any Copilot quota is spent.
Features
- Auto-discovery - 22 command types including shell scripts, npm, Make, Python, PowerShell, Gradle, Cargo, Maven, Docker Compose, .NET, C# Script, F# Script, Mise, and more
- Quick Launch - Pin frequently-used commands to a dedicated panel at the top
- Tagging - Right-click any command to add or remove tags
- Filtering - Filter the tree by tag
- Run anywhere - Execute in a new terminal, the current terminal, or launch with the debugger
- Folder grouping - Commands grouped by directory with collapsible nested hierarchy
- Parameterized commands - Prompt for arguments before execution
- File watching - Automatic refresh when scripts or config files change
Supported Command Types
| Type |
Source |
| Shell Scripts |
.sh, .bash, .zsh files |
| NPM Scripts |
package.json scripts |
| Makefile Targets |
Makefile / makefile targets |
| VS Code Tasks |
.vscode/tasks.json |
| Launch Configs |
.vscode/launch.json |
| Python Scripts |
.py files |
| PowerShell Scripts |
.ps1 files |
| Gradle Tasks |
build.gradle, build.gradle.kts |
| Cargo Tasks |
Cargo.toml (Rust) |
| Maven Goals |
pom.xml |
| Ant Targets |
build.xml |
| Just Recipes |
justfile |
| Taskfile Tasks |
Taskfile.yml, Taskfile.yaml |
| Deno Tasks |
deno.json, deno.jsonc |
| Rake Tasks |
Rakefile (Ruby) |
| Composer Scripts |
composer.json (PHP) |
| Docker Compose |
docker-compose.yml, compose.yml |
| .NET Projects |
.csproj, .fsproj |
| C# Scripts |
.csx files |
| F# Scripts |
.fsx files |
| Mise Tasks |
.mise.toml, mise.toml, .mise/*.toml |
| Markdown Files |
.md files |
Getting Started
Install from the VS Code Marketplace, or from source:
npm install
npm run package
code --install-extension commandtree-*.vsix
Open a workspace and the CommandTree panel appears in the sidebar. All discovered commands are listed by category.
Usage
- Run a command - Click the play button or right-click > "Run Command"
- Run in current terminal - Right-click > "Run in Current Terminal"
- Debug - Launch configurations run with the VS Code debugger
- Star a command - Click the star icon to pin it to Quick Launch
- Filter - Use the toolbar icons to filter by tag
- Tag commands - Right-click > "Add Tag" to group related commands
Settings
| Setting |
Description |
Default |
commandtree.excludePatterns |
Glob patterns to exclude from discovery |
**/node_modules/**, **/.git/**, etc. |
commandtree.sortOrder |
Sort commands by folder, name, or type |
folder |
Contributing
See CONTRIBUTING.md for development setup and guidelines. All pull requests must pass make ci before merging.
License
MIT
| |