CmdFlow is a powerful VS Code extension that brings your terminal commands directly into the sidebar. Organize, execute, and manage your most-used commands with ease, all without leaving your editor.
Features
Sidebar Command Access: View and run commands from a dedicated "CmdFlow" view in the Activity Bar.
One-Click Execution: Run commands instantly by clicking the "Play" button.
Custom Commands: Add your own commands directly from the UI.
Favorites: Pin your most frequently used commands for quick access.
Smart Context: Commands can be context-aware (e.g., only show "NPM Install" if package.json exists).
Multi-Terminal Support: Commands can target specific terminals.
Variable Support: Use dynamic variables like ${input:VarName} for user input or ${var:GlobalVar} for settings-defined values.
Import/Export: Share your command configurations with your team.
Getting Started
Open CmdFlow: Click the CmdFlow icon in the Activity Bar.
Run a Command: Hover over a command and click the Play icon.
Add Custom Command: Click the + icon in the view title to add a new command.
Favorites: Right-click any command and select Add to Favorites.
Run In...: Right-click a command and select Run In... to choose a specific directory or terminal.
Configuration
CmdFlow uses a .vscode/cmdflow.json file in your workspace to store your custom commands. This file is automatically created when you add your first custom command.
Global Variables
You can define global variables in your VS Code User Settings (settings.json) to use across your commands.