https://github.com/catvec/particle-cli-container
Container which runs the Particle CLI application.
https://github.com/catvec/particle-cli-container
Last synced: 4 months ago
JSON representation
Container which runs the Particle CLI application.
- Host: GitHub
- URL: https://github.com/catvec/particle-cli-container
- Owner: catvec
- License: mit
- Created: 2019-11-11T08:12:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-11T21:08:55.000Z (over 6 years ago)
- Last Synced: 2025-09-08T00:47:06.522Z (9 months ago)
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Particle CLI Container
Container which runs the Particle CLI application.
# Table Of Contents
- [Overview](#overview)
- [Use](#use)
- [Install](#install)
# Overview
Container which runs the [Particle CLI](https://docs.particle.io/tutorials/developer-tools/cli).
# Use
Run the container by invoking the `bin/particle` script in this repository. Pass
arguments to this script like you would to the Particle CLI.
The working directory the script was run from is mounted in the container under
the `/mnt` directory. The Particle CLI is invoked within this directory in the
container.
It is recommended that you do not provide absolute paths to the Particle CLI
container as they will be interpreted as paths inside the container's
file system.
# Install
If you would like to invoke the Particle CLI via this container from any
location in your shell you have 2 options:
## Install Option 1 - Add to `PATH`
Add the `bin` directory in this repository to your path.
Place the following in your shell profile:
```
export PATH="$PATH:/path/to/this/repo/bin"
```
## Install Option 2 - Symlink
Create a symlink from the `bin/particle` file to a location already in
your `PATH`:
Run the following once:
```
ln -s /path/to/this/repo/bin/particle /usr/local/bin/
```
Note that paths in the above command must be absolute.