devcontainer-cli

module
v0.1.1348566850 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2021 License: MIT

README

devcontainer-cli

devcontainer-cli is the start of a CLI to improve the experience of working with Visual Studio Code devcontainers

Status: this is a pet project that I've been experimenting with. It is not supported and you should expect bugs :-)

Installation

Head to the latest release page and download the archive for your platform.

Extract devcontainer from the archive and place in a folder in your PATH.

You can also install using homebrew with brew install stuartleeks/tap/devcontainer

Or if you just don't care and are happy to run random scripts from the internet:

export OS=linux # also darwin
export ARCH=amd64 # also 386
wget https://raw.githubusercontent.com/stuartleeks/devcontainer-cli/main/scripts/install.sh
chmod +x install.sh
sudo -E ./install.sh

Enabling bash completion

To enable bash completion, add the following to you ~/.bashrc file:

source <(devcontainer completion bash)

Or to alias devcontainer (to dc in this example):

alias dc=devcontainer
complete -F __start_devcontainer dc

Docs

See the documentation on how to work with devcontainer.

Directories

Path Synopsis
cmd
devcontainer command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL