twoface

0.2.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.2
    1
    • latest

Version History

Package Sidebar

Install

npm i twoface

Weekly Downloads

1

Version

0.2.2

License

ISC

Unpacked Size

185 kB

Total Files

17

Last publish

Collaborators

  • findmypast-tech