navy-captain
v0.0.8
Published
Executes orders (tasks) received from the Admiral which have been issued via the comms CLI.
Downloads
5
Readme
navy-captain
Executes orders (tasks) received from the Admiral which have been issued via the comms CLI.
Installation
npm install -g navy-captain
Usage
captaind --help
Quickstart Demo
To quickly get a Captain up and running so you can see how it works, run the following commands:
git clone [email protected]:microadam/navy-captain.git
cd navy-captain/example/
captaind -c config.js
This will give you a Captain that is able to execute the 'test' order for the 'testApp' application.
Configuration
When a Captain is initialised, it must be given a config file. The config file is used to determine how the Captain will behave, as well as dictating what orders it is able to run and where the Admiral is located.
For an example config file, please see the 'example' directory.
Orders
Orders are the tasks that a Captain knows how to execute.
For an example order, please see the 'example' directory.
See here for a detailed guide on how to develop your own Orders.