@apr/werckerenvtools
Tools to work with environment variables in wercker
Last updated 2 years ago by tech_userreport.com .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @apr/werckerenvtools 
SYNC missed versions from official npm registry.

werckerenvtools

Tools to work with wercker environments

Installation

npm i -g @apr/werckerenvtools

Env variables

To avoid writing the api token directly in the command line, it can be read from the environment variable WERCKERENVTOOLS_TOKEN.

Export

Example:

werckerenvtools export [organization] [application] [pipeline] --token [token] --include-application false > ENVIRONMENT

will export the environment variables of the pipeline to file called ENVIRONMENT Organization, application and pipeline must exist. include-application is optional and defaults to false but will include application envvars if true

Import

Example:

werckerenvtools import [organization] [application] [pipeline] --token [token] --overwrite true --file ENVIRONMENT

will import the environment variables of the update pipeline from file called ENVIRONMENT Organization, application and pipeline must exist. overwrite is optional and defaults to false but will overwrite existing keys

Sync

Example:

werckerenvtools sync [organization] [application] [src-pipeline] [dst-pipeline] --token [token]

will sync the environment variables of the src pipeline to the dst pipeline Organization, application and pipelines must exist. overwrite is optional and defaults to false but will overwrite existing keys

Trim

Example:

werckerenvtools trim [organization] [application] [pipeline] --token [token]

Trims all environment variable keys in the pipeline that also exists in application or organization

Current Tags

  • 1.0.9                                ...           latest (2 years ago)

10 Versions

  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 11
Last Month 27
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |