Command line interface for the toolboks library
Project description
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
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 Distribution
toolboks-cli-0.0.1.tar.gz
(15.0 kB
view hashes)
Built Distribution
Close
Hashes for toolboks_cli-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41567c6b6619aa7e10c69013f8cfcb4d729eee426c1767212355f3accaa2d1cc |
|
MD5 | 3fa43afa009124b6fde16a6c8affb8a9 |
|
BLAKE2b-256 | 463e08e0a397d47a6f6101ed041f92636f97d3eb0d07dd30233aa96a406288cf |