toolboks-cli


Nametoolboks-cli JSON
Version 0.0.1 PyPI version JSON
download
home_page
SummaryCommand line interface for the toolboks library
upload_time2022-12-08 20:33:28
maintainer
docs_urlNone
authorMikael Tranbom
requires_python>=3.9
licenseGPLv3
keywords utility developer tools cli tools
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "toolboks-cli",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "utility,developer tools,CLI tools",
    "author": "Mikael Tranbom",
    "author_email": "mikael@tranbom.io",
    "download_url": "https://files.pythonhosted.org/packages/75/7e/ea6cfbfc5649fb06e931466ca12d21eeb9c256b4526665dd945e2946578d/toolboks-cli-0.0.1.tar.gz",
    "platform": null,
    "description": "# Toolboks CLI tools\n\ntoolboks-cli is a bundle of command line tools utilising the toolboks library.\n\n## Installation\n\nInstall with pip:\n\n`pip install toolboks-cli`\n\n\n### Requirements\n\n- python >= 3.9\n- toolboks\n\n### Command line scripts\ntoolboks-cli will install the following commands:  \n\n- tb-conf\n\n## Usage\n\n### tb-conf\n\n`tb-conf <filename> <section> <key>` - Read configuration value from any configuration file on INI format  \n\nExample:  \n\nHaving a ~/.gitconfig file with the following configuration:\n\n```\n[user]\n    email = user@example.host\n    name = Testy Test\n\n[diff]\n    tool = vimdiff\n\n[difftool]\n    prompt = false\n\n[alias]\n    d = difftool\n```\n\nAny value in the configuration file can be fetched with tb-conf:  \n\n```\n$ tb-conf ~/.gitconfig user email\nuser@example.host\n$ tb-conf ~/.gitconfig diff tool\nvimdiff\n$ tb-conf ~/.gitconfig user name\nTesty Test\n```\n\n\n## License\n\nGPL-3.0-only\n",
    "bugtrack_url": null,
    "license": "GPLv3",
    "summary": "Command line interface for the toolboks library",
    "version": "0.0.1",
    "split_keywords": [
        "utility",
        "developer tools",
        "cli tools"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "3fa43afa009124b6fde16a6c8affb8a9",
                "sha256": "41567c6b6619aa7e10c69013f8cfcb4d729eee426c1767212355f3accaa2d1cc"
            },
            "downloads": -1,
            "filename": "toolboks_cli-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3fa43afa009124b6fde16a6c8affb8a9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 17111,
            "upload_time": "2022-12-08T20:33:26",
            "upload_time_iso_8601": "2022-12-08T20:33:26.734871Z",
            "url": "https://files.pythonhosted.org/packages/46/3e/08e0a397d47a6f6101ed041f92636f97d3eb0d07dd30233aa96a406288cf/toolboks_cli-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "deafe8bd16a789442cd81db27e5371b9",
                "sha256": "6b3590caae616ede53c1707bffb5f70f4c6391c56bccd7f0047e3ffea9c3a744"
            },
            "downloads": -1,
            "filename": "toolboks-cli-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "deafe8bd16a789442cd81db27e5371b9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 14976,
            "upload_time": "2022-12-08T20:33:28",
            "upload_time_iso_8601": "2022-12-08T20:33:28.348393Z",
            "url": "https://files.pythonhosted.org/packages/75/7e/ea6cfbfc5649fb06e931466ca12d21eeb9c256b4526665dd945e2946578d/toolboks-cli-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-08 20:33:28",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "toolboks-cli"
}
        
Elapsed time: 0.01900s