twoface
v0.2.2
Published
NodeJs tool for flipping blue/green deployment configuration, communicates with consul server.
Downloads
6
Maintainers
Readme
twoface
NodeJs tool for flipping blue/green deployment configuration, communicates with consul server.
Install
npm install -g twoface
Usage
Top level commands:
Usage: twoface flip [options]
Flip the value from green to blue tags, and vice versa
Options:
-h, --help output usage information
-H, --host <consulHost:port> The host and port of the consul service
-k, --key <consulKey> The key which stores the value to be flipped
-b, --blueTag <blueTag> The value to use as the blue tag
-g, --greenTag <greenTag> The value to use as the green tag
Usage: twoface peek [options]
Print the opposite to the current live tag value
Options:
-h, --help output usage information
-H, --host <consulHost:port> The host and port of the consul service
-k, --key <consulKey> The key which stores the value to be checked
-b, --blueTag <blueTag> The value to use as the blue tag
-g, --greenTag <greenTag> The value to use as the green tag