Toolboks CLI tools
toolboks-cli is a bundle of command line tools utilising the toolboks library.
Installation
Install with pip:
pip install toolboks-cli
Requirements
- python >= 3.9
- toolboks
Command line scripts
toolboks-cli will install the following commands:
- tb-conf
Usage
tb-conf
tb-conf <filename> <section> <key> - Read configuration value from any configuration file on INI format
Example:
Having a ~/.gitconfig file with the following configuration:
[user]
email = user@example.host
name = Testy Test
[diff]
tool = vimdiff
[difftool]
prompt = false
[alias]
d = difftool
Any value in the configuration file can be fetched with tb-conf:
$ tb-conf ~/.gitconfig user email
user@example.host
$ tb-conf ~/.gitconfig diff tool
vimdiff
$ tb-conf ~/.gitconfig user name
Testy Test
License
GPL-3.0-only
Metadata
Release files for toolboks-cli 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| toolboks-cli-0.0.1.tar.gz | 15.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| toolboks_cli-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.1 kB
Release files / toolboks-cli-0.0.1.tar.gz
| Download URL | toolboks-cli-0.0.1.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b3590caae616ede53c1707bffb5f70f4c6391c56bccd7f0047e3ffea9c3a744
|
|
BLAKE2b-256 checksum How to use checksums |
757eea6cfbfc5649fb06e931466ca12d21eeb9c256b4526665dd945e2946578d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Release files / toolboks_cli-0.0.1-py3-none-any.whl
| Download URL | toolboks_cli-0.0.1-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41567c6b6619aa7e10c69013f8cfcb4d729eee426c1767212355f3accaa2d1cc
|
|
BLAKE2b-256 checksum How to use checksums |
463e08e0a397d47a6f6101ed041f92636f97d3eb0d07dd30233aa96a406288cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|