Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stuartleeks/devcontainer-cli
Unofficial CLI for making it easier to work with Visual Studio Code dev containers from the terminal
https://github.com/stuartleeks/devcontainer-cli
cli devcontainers vscode
Last synced: 6 days ago
JSON representation
Unofficial CLI for making it easier to work with Visual Studio Code dev containers from the terminal
- Host: GitHub
- URL: https://github.com/stuartleeks/devcontainer-cli
- Owner: stuartleeks
- License: mit
- Created: 2020-05-17T12:04:20.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-20T20:42:53.000Z (12 months ago)
- Last Synced: 2024-08-03T17:13:33.514Z (3 months ago)
- Topics: cli, devcontainers, vscode
- Language: Go
- Homepage:
- Size: 224 KB
- Stars: 45
- Watchers: 4
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-devcontainers - Unofficial devcontainer CLI - An experimental CLI to improve the experience of working with Visual Studio Code dev containers. (Tools)
README
# devcontainer-cli
devcontainer-cli is the start of a CLI to improve the experience of working with [Visual Studio Code devcontainers](https://code.visualstudio.com/docs/remote/containers)
**Status: this is a pet project that I've been experimenting with. It is not supported and you should expect bugs :-)**
**NOTE: To avoid conflicts with the [official CLI](https://github.com/devcontainers/cli) the binary for this project has been renamed to `devcontainerx`**
## Installation
Head to the [latest release page](https://github.com/stuartleeks/devcontainer-cli/releases/latest) and download the archive for your platform.
Extract `devcontainerx` 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:
```bash
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:
```bash
source <(devcontainerx completion bash)
```Or to alias `devcontainerx` (to `dcx` in this example):
```bash
alias dcx=devcontainerx
complete -F __start_devcontainerx dcx
```## Docs
See [the documentation](https://stuartleeks.github.io/devcontainer-cli) on how to work with `devcontainerx`.