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-1.0.38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c48f3f7deb10987fda7ef9a23b1718e35e6a0af1e713409563afd9a7a9a9c441 |
|
MD5 | a83feb72b74b9eda675c34622fb6eecc |
|
BLAKE2b-256 | 4ea2212654f1e443573bac603dc5bf4e8bd44bcf4815e32f404d42265a8dac35 |