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 License Python Pixi Badge

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/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 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

devlaunch-0.0.1.tar.gz (12.9 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.1-py2.py3-none-any.whl (12.6 kB view details)

Uploaded Python 2Python 3

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

Hashes for devlaunch-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0d7f7ba74d9b3b87676eaecefeb1e8af9c816964dfd1cd57b6ddf7b93e8bae79
MD5 d5a4875ce9fe29f6b03b72ebe1abbcf9
BLAKE2b-256 191cb1c3ae2312026c0608ea8e46fcbefd553ced307034b9be6a2ce5653ad209

See more details on using hashes here.

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

Hashes for devlaunch-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 440de5f9d908af3a7e069a54a66e307202d7cbacd4c8c146ef4aa2b4d023caf5
MD5 5240ddb0f6630eb2a095a41308fd5608
BLAKE2b-256 933b89b37334b0709270292baeff9b57b189167334f8d4c159b2d3bf9006b004

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