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.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26fc47a9f0610fabd9ac2bb8937f8607342e1ae326a88e5f8a8b20a6730e6d7a |
|
MD5 | eada4acf90be894a7658ab58553563dd |
|
BLAKE2b-256 | 449b4873001a4f961019be3f3327acbf951780d5d43742f779bb01df7dc2ea41 |