Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Latest commit

 

History

History
64 lines (33 loc) · 1.26 KB

README.rst

File metadata and controls

64 lines (33 loc) · 1.26 KB

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