Galbi CLI
Project description
Galbi
Less important configuration management system.
Installation
Requires
- Python 3.6 +
- GitHub personal access token: https://github.com/settings/tokens
Install
Recommend to use pipx to install command line interface in isolated environment.
$ pip install pipx
$ pipx install galbi
Initialize configuration
$ galbi init
GitHub repo: ...
Your GitHub personal access token: ...
Initialize galbi.
How to deploy key?
It uploads JSON to reposotory's issue.
$ galbi deploy something.json
...
JSON key should be a title and label of issue.
JSON value added to comment of the issue. Latest comment is the configuration value of JSON key.
If someone deploy the same JSON key, value pair, It adds comment on the issue.
For deploying a single configuration, It supports deploy-key
command.
$ galbi deploy-key -k foo -v bar
...
How to get key?
$ galbi get --key foo --key bar
{
"foo": ...,
"bar": ...,
}
Note that galbi only get a configuration from an opened issue. If you want to deprecate/remove the configuration, close the issue.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file galbi-0.2.1.tar.gz
.
File metadata
- Download URL: galbi-0.2.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d008ccfcbac5aff9eed9d7ff3c59b57ad52f5e3291a06fb0bc79a0d3f51103e7 |
|
MD5 | a99a35a6f686af1eab5295c30da76fe1 |
|
BLAKE2b-256 | 452142f1eddda5f3f9f41514be4bd10c919c73a83c6a21220ad8f565c806d550 |
File details
Details for the file galbi-0.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: galbi-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2a3c148db289a36c661454dc04410324c520e5aa01a675008e097f99ebcc732 |
|
MD5 | 402122f4e35ff52563d304e9bfa9d983 |
|
BLAKE2b-256 | 85508b1e7cd2feb5eb05f3b812b23c4878d895d47b6184e99a89d35201eda897 |