Metadata-Version: 2.1
Name: toolboks-cli
Version: 0.0.1
Summary: Command line interface for the toolboks library
Author: Mikael Tranbom
Author-email: mikael@tranbom.io
License: GPLv3
Project-URL: Homepage, https://gitlab.com/toolboks/toolboks-cli
Project-URL: Repository, https://gitlab.com/toolboks/toolboks-cli
Keywords: utility,developer tools,CLI tools
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development
Classifier: Topic :: System :: Shells
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: toolboks (==0.0.1)

# 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
