Skip to main content

Allows you to pull variables for a project from your [treasure] hoard.

Project description

Hoard (CLI)

This utility allows you to pull variables for a project from your [treasure] hoard.

Installation

Use your favourite python package installer:

pip install hoard

Configuration

Set your hoard url and default environment in ~/.hoardrc:

[hoard]
url=<some_url>
env=dev

Set your project name in your project’s .hoard (ideally in your project’s top level directory):

[hoard]
project=<project_name>

Usage

Get your auth token from the server backend:

hoard login

List environments for a project, with overrides for project and env:

hoard get [--project] [--env]

Set one or more environment variables, with overrides for project and env:

hoard set [--project] [--env] KEY=value [KEY=value,...]

Delete one or more environment variables, with overrides for project and env:

hoard rm [--project] [--env] KEY [KEY,...]

Project specific commands, e.g. show the current project, list envs for current project, list all projects:

hoard project [project] [--envs] [--all]

Environment specific commands, e.g. show the current env, list all envs:

hoard env [--all]

Clear your local auth token:

hoard logout

Changelog for Trove (CLI)

1.0

Initial release.

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

hoard-1.1.1.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

hoard-1.1.1-py2.py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 2 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