Skip to main content

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

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toolboks_cli-0.0.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file toolboks-cli-0.0.1.tar.gz.

File metadata

  • Download URL: toolboks-cli-0.0.1.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for toolboks-cli-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6b3590caae616ede53c1707bffb5f70f4c6391c56bccd7f0047e3ffea9c3a744
MD5 deafe8bd16a789442cd81db27e5371b9
BLAKE2b-256 757eea6cfbfc5649fb06e931466ca12d21eeb9c256b4526665dd945e2946578d

See more details on using hashes here.

File details

Details for the file toolboks_cli-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: toolboks_cli-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for toolboks_cli-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 41567c6b6619aa7e10c69013f8cfcb4d729eee426c1767212355f3accaa2d1cc
MD5 3fa43afa009124b6fde16a6c8affb8a9
BLAKE2b-256 463e08e0a397d47a6f6101ed041f92636f97d3eb0d07dd30233aa96a406288cf

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page