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 <workspace> # Start workspace and attach shell
dl <workspace> <command> # Run command in workspace
dl owner/repo # Create workspace from GitHub repo
dl owner/repo@branch # Create workspace from specific branch
dl ./path # Create workspace from local path
Commands
| Command | Description |
|---|---|
dl --ls |
List all workspaces |
dl --stop <workspace> |
Stop a workspace |
dl --rm <workspace> |
Delete a workspace |
dl --code <workspace> |
Open workspace in VS Code |
dl --status <workspace> |
Show workspace status |
dl --recreate <workspace> |
Recreate workspace container |
dl --reset <workspace> |
Reset workspace (clean slate) |
dl --install |
Install shell completions |
dl --help |
Show help |
Examples
# Select workspace interactively with fzf
dl
# Open an existing workspace
dl myproject
# Create workspace from GitHub repository
dl loft-sh/devpod
# Create workspace from specific branch
dl blooop/devlaunch@main
# Create workspace from local folder
dl ./my-project
# Open workspace in VS Code
dl --code myproject
# Run a command in workspace
dl myproject 'make test'
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 command flags (
--ls,--stop, etc.)
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.1.tar.gz.
File metadata
- Download URL: devlaunch-0.0.1.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d7f7ba74d9b3b87676eaecefeb1e8af9c816964dfd1cd57b6ddf7b93e8bae79
|
|
| MD5 |
d5a4875ce9fe29f6b03b72ebe1abbcf9
|
|
| BLAKE2b-256 |
191cb1c3ae2312026c0608ea8e46fcbefd553ced307034b9be6a2ce5653ad209
|
File details
Details for the file devlaunch-0.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: devlaunch-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 12.6 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 |
440de5f9d908af3a7e069a54a66e307202d7cbacd4c8c146ef4aa2b4d023caf5
|
|
| MD5 |
5240ddb0f6630eb2a095a41308fd5608
|
|
| BLAKE2b-256 |
933b89b37334b0709270292baeff9b57b189167334f8d4c159b2d3bf9006b004
|