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.

Files for hoard, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size hoard-1.1.1.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View
Filename, size hoard-1.1.1-py2.py3-none-any.whl (8.8 kB) File type Wheel Python version 2.7 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page