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

/twoface/

    Package Sidebar

    Install

    npm i twoface

    Weekly Downloads

    3

    Version

    0.2.2

    License

    ISC

    Unpacked Size

    185 kB

    Total Files

    17

    Last publish

    Collaborators

    • findmypast-tech