Longshoreman CLI
You can use the CLI to easily administer a Longshoreman cluster from the command line. The tool talks to the Longshoreman controller server over HTTP.
Installation
npm install -g longshoreman
Set up
To use the CLI, you'll first have to initialize your Longshoreman configuration file. Run longshoreman init
to create a credentials file in your home directory. If you don't yet have a controller URL or token, see the quick start to get started.
Usage
Usage: longshoreman [COMMAND] [--app APP] [command-specific-options] Commands:init: Interactive configurationapps: List all applicationsapps:add: Add a new applicationapps:rm: Remove an applicationhosts: List all hosts in the clusterhosts:add: Add a host to the clusterhosts:rm: Remove a host from the clusterinstances: List all instances of an application on the clusterdeploy: Deploy an image to the applicationenvs: Displays all environmental variables
License
MIT