CLI tools for configuring other HMD tools
Project description
HMD CLI Configure
This package is a command line utility for configuring your local environment to use other HMD CLI tools.
All configuration for HMD CLI tools is done via a dotenv file located at $HMD_HOME/.config/hmd.env
.
The path $HMD_HOME
must be set by you to a directory that will be used with HMD tools only, and be present in your session.
It is a good idea to set this in a .bash_profile
or similar file.
Usage
In order to set an environment variable in the hmd.env
file, you would use the set-env
command and provide key
and value
arguments.
hmd configure set-env <key> <value>
This will update or append the following line in hmd.env
: key='value'
.
Common Variables
There are some common variables that you might what to set upon first installation.
HMD_GH_USERNAME
: the GitHub username to use when connecting; primarily used byhmd-cli-mickey
to fetch remote templatesHMD_GH_PASSWORD
: either a GitHub PAT or absolute path to file containing only the PAT. The entire file contents will be read and used.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for hmd_cli_configure-0.1.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99ab3b17b542b7f5fc2d5c7d0df755519f54e3bc4dc5de736139fc1597b2b453 |
|
MD5 | 612ffa8f9daf0177d7455c472fb5f2cf |
|
BLAKE2b-256 | e1bbf87d618f96ad84e6144bff0eda8c7bdb4266d6f7eb2cdc33764a320ab252 |