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

ghickman/hoard-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages