Skip to main content

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

Ci Codecov GitHub issues GitHub pull-requests merged GitHub release PyPI Conda License Python Pixi Badge

Installation

Pixi (Recommended)

pixi global install --channel conda-forge --channel https://prefix.dev/blooop devlaunch

This installs devlaunch along with devpod and all dependencies automatically.

Pip

pip install devlaunch

Note: When using pip, you must install devpod separately.

Shell Completions

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/repo instead of full URLs - automatically expands to github.com/owner/repo
  • Branch Support: Specify branches with owner/repo@branch syntax
  • 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

devlaunch-0.0.6.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devlaunch-0.0.6-py2.py3-none-any.whl (16.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file devlaunch-0.0.6.tar.gz.

File metadata

  • Download URL: devlaunch-0.0.6.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for devlaunch-0.0.6.tar.gz
Algorithm Hash digest
SHA256 599f201eecf1ec49eef1ba659e0aa7faef22386963e7701f34f24f747532292f
MD5 9a7bf07f1d7aea09708f3dff5b205a64
BLAKE2b-256 658c6827e5cb5b7576340d36f0b96980ab16334c3e6c791bb509503f74f7e887

See more details on using hashes here.

File details

Details for the file devlaunch-0.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: devlaunch-0.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for devlaunch-0.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 baf519a51b9175148955706695df788831858b7b0d613c4442ca572f04c2b8b9
MD5 dbac7dfeb4779dd78931163bf1734389
BLAKE2b-256 97b68a101c4f7e661cf3e2e1db494597f7ceea03067f5f5e0b95437d28ba883b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page