Skip to main content

OPS CTL Tool

Project description

Ops CTL tool

Generated by script generate_readme.sh

Org Author License python PyPI

Install

pip install opsctl

Upgrade

pip install opsctl --upgrade

Test

python setup.py install
cd test
pytest *

Feature

opsctl
  tmpl2art	Render templates to articles
  env2json	Get environ variables to Json file
  env2yaml	Get environ variables to YAML file
  bamboo	Bamboo CLI
  version	Show opsctl version
  • Render templates to articles
opsctl tmpl2art
  --config	Key-Value config file path, file type is YAML
  --tmpl	Template dir path or template file path
  --output	Articles output path
  • Get environ variables to Json file
opsctl env2json
  --output	Output Json file path
  --input	Optional. Ensure your input file format that is must be same with output of command "env".
         	Get current os environ variables if let this option empty.
  • Get environ variables to YAML file
opsctl env2yaml
  --output	Output YAML file path
  --input	Optional. Ensure your input file format that is must be same with output of command "env".
         	Get current os environ variables if let this option empty.
  • Bamboo CLI
opsctl bamboo
  --host	Bamboo server host base url
  --token	Bamboo server access token
  --deploy	Trigger Bamboo deployment project running. Format is deploymentProjectName:environmentName
  --param	Optional. Update target variables paramKey:paramValue

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opsctl-0.2.2.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distribution

opsctl-0.2.2-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page