Skip to main content

Galbi CLI

Project description

Galbi

Less important configuration management system.

Installation

Requires

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.

Migration

In galbi 1.0, we changes a way to store a configuration. Before 1.0, galbi get a latest comment of issue to get body. But from galbi 1.0, It stores data in body of issue.

So If you use galbi under 1.0 version, You need to migrate your configuration.

$ galbi migrate
Are you sure you want to migrate galbi 0.2 to 1.0? [y/N]:

migrate command help you to migrate configurations.

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 stored in body of the issue, and leaves a comment of the issue as well. If someone deploy the same JSON key, value pair, It updates a body and comment again.

Issue's comment is change log of configuration.

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": ...,
}

To get specific changes of configuration, you can use get-rev command.

$ galbi get-rev -k foo -r 0
...

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

galbi-1.0.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

galbi-1.0.0-py2.py3-none-any.whl (4.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file galbi-1.0.0.tar.gz.

File metadata

  • Download URL: galbi-1.0.0.tar.gz
  • Upload date:
  • Size: 4.2 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.51.0 CPython/3.8.5

File hashes

Hashes for galbi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 230d18832df346953a0a4b999137d88a3ce4b328bde83d6e584143966d4157d7
MD5 b52e40e71a8412b38fb06948d27f659b
BLAKE2b-256 39d0ef9fe7bd171848a9f9cbd95d0d7df0e6ed3f706c15f94aec4e771ecd7ac3

See more details on using hashes here.

File details

Details for the file galbi-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: galbi-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.51.0 CPython/3.8.5

File hashes

Hashes for galbi-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6e021b9bdf290dfc108b964ec4cb1e6d681458b1dffa1beb2ae5bde63e796d2b
MD5 9f9f835ea96429c43805bb6abc9acada
BLAKE2b-256 f3ad772b1368d7c9dd6b79e2053f2031defbb5bca93efd579e09210d06782ddb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page