A simple CLI tool to quickly open VSCode Workspace.
Using Homebrew:
brew install phe-lab/tap/ws
If you have a Go environment:
go get -u -v github.com/phe-lab/ws
# List the workspaces
ws
# Open the workspace with the filename "simple-scrollspy.code-workspace"
ws simple-scrollspy
# Execute CLI with the logging level set to "debug"
ws --debug
Name | Default | Description |
---|---|---|
VSCODE_WS_PATH |
~/code-workspaces |
The directory path containing the *.code-workspace files |
VSCODE_WS_DEBUG |
Enable the debug mode: VSCODE_WS_DEBUG=true |