DevLaunch - A streamlined CLI for devpod workspaces
Project description
devlaunch
A streamlined CLI for devpod with intuitive autocomplete and fzf fuzzy selection.
Continuous Integration Status
Installation
# Using pixi (recommended)
pixi global install devlaunch
# Using pip
pip install devlaunch
After installation, set up shell completions:
dl --install
source ~/.bashrc # or restart your terminal
Usage
dl # Interactive workspace selector (fzf)
dl <user/repo> # Start workspace and attach shell
dl <user/repo> <cmd> # Run workspace command (stop, code, etc.)
dl <user/repo> -- <command> # Run shell command in workspace
Workspace Sources
dl myproject # Existing workspace by name
dl user/repo # Create from GitHub repo
dl user/repo@branch # Create from specific branch
dl ./path # Create from local path
Workspace Commands
| Command | Description |
|---|---|
dl <user/repo> stop |
Stop the workspace |
dl <user/repo> rm, prune |
Delete the workspace |
dl <user/repo> code |
Open in VS Code |
dl <user/repo> restart |
Stop and start (no rebuild) |
dl <user/repo> recreate |
Recreate container |
dl <user/repo> reset |
Clean slate (remove all, recreate) |
dl <user/repo> -- <command> |
Run shell command in workspace |
Global Commands
| Command | Description |
|---|---|
dl --ls |
List all workspaces |
dl --install |
Install shell completions |
dl --help, -h |
Show this help |
dl --version |
Show version |
Examples
dl # Select workspace with fzf
dl devpod # Open existing workspace
dl loft-sh/devpod # Create from GitHub
dl blooop/devlaunch@main # Create from specific branch
dl ./my-project # Create from local folder
dl blooop/devlaunch code # Open in VS Code
dl blooop/devlaunch -- make test # Run command in workspace
dl blooop/devlaunch stop # Stop workspace
Features
- Fuzzy Selection: When called without arguments, uses fzf for interactive workspace selection
- Smart Completion: Tab completion for workspaces, GitHub repos (owner/repo format), and paths
- GitHub Shorthand: Use
owner/repoinstead of full URLs - automatically expands togithub.com/owner/repo - Branch Support: Specify branches with
owner/repo@branchsyntax - Fast Autocomplete: Completion cache for ~3ms response time (vs ~700ms without cache)
Shell Completion
After running dl --install, you get intelligent tab completion:
- Workspace names from your devpod list
- Known GitHub owners and repositories from your workspaces
- File/directory paths when starting with
./,/, or~ - All global flags (
--ls,--install, etc.) and workspace commands
Development
This project uses pixi for environment management.
# Run tests
pixi run test
# Run full CI suite
pixi run ci
# Format and lint
pixi run style
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file devlaunch-0.0.4.tar.gz.
File metadata
- Download URL: devlaunch-0.0.4.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c68e48cfcd9441977b6ed2d0b5252cc8fa71c0ea1924e99764621fb3d6d1b9b
|
|
| MD5 |
243d31eb70003bfcd1b9df2fec8bc240
|
|
| BLAKE2b-256 |
f132dc58a9b12f072b5b99160122a1d1028b7f1a30d8807e51daf4e9a82be9fb
|
File details
Details for the file devlaunch-0.0.4-py2.py3-none-any.whl.
File metadata
- Download URL: devlaunch-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c46b841219f30c69b643c32443803705ed16dcc5013696fc443200b49636682
|
|
| MD5 |
1b8c8d1529954cdd292da398cd94f28c
|
|
| BLAKE2b-256 |
a24eaedf190dbdfc70f2a8cab9be7ef3a999d38cf434de6339524d5faf13ffa8
|