bitpay / node-bitpay-client

A Node.js module and command line client for interacting with BitPay's Cryptographically Secure API
102 stars 95 forks source link

added bitpay config command #40

Closed tacticalchihuahua closed 10 years ago

tacticalchihuahua commented 10 years ago

Adds the command bitpay config for managing multiple configurations. This is pretty badass.

View the current config:

bitpay config --print

List possible preset configurations:

bitpay config --list

Load a preset configuration:

bitpay config --use prod

Modify configuration:

bitpay config --set apiHost --value localhost

Save your config as a new preset for later use:

bitpay config --save local
tacticalchihuahua commented 10 years ago

maybe @pnagurny wants to review and test?