# Command Line Interface
This python module is used to make your command line / terminal more fancy when printing / logging certain events.
## Quick install
```bash
pip install cli-log
```
## Examples
```python
import cli
cli.info("Hello world!\nInfo event.")
cli.debug("Debug event.")
cli.warn(prefix="CORE", message="Warning event.")
cli.error("Error event.")
```
```log
[16:30:52 / INFO] Hello world!
[16:30:52 / INFO] Info event.
[16:30:52 / DEBUG] Debug event.
[16:30:52 / WARN][CORE] Warning event.
[16:30:52 / ERROR] Error event.
```
Raw data
{
"_id": null,
"home_page": "https://github.com/DeltaBotics/cli-log",
"name": "cli-log",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "logging",
"author": "DeltaBotics",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/52/1a/f4a6d0006d6a6f850d65966c9983eb4245c2d1950a17f367fc1b11c61aa6/cli-log-0.2.tar.gz",
"platform": null,
"description": "# Command Line Interface\r\n\r\nThis python module is used to make your command line / terminal more fancy when printing / logging certain events.\r\n\r\n## Quick install\r\n\r\n```bash\r\npip install cli-log\r\n```\r\n\r\n## Examples\r\n\r\n```python\r\nimport cli\r\n\r\ncli.info(\"Hello world!\\nInfo event.\")\r\ncli.debug(\"Debug event.\")\r\ncli.warn(prefix=\"CORE\", message=\"Warning event.\")\r\ncli.error(\"Error event.\")\r\n```\r\n\r\n```log\r\n[16:30:52 / INFO] Hello world!\r\n[16:30:52 / INFO] Info event.\r\n[16:30:52 / DEBUG] Debug event.\r\n[16:30:52 / WARN][CORE] Warning event.\r\n[16:30:52 / ERROR] Error event.\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Command line interface logging.",
"version": "0.2",
"project_urls": {
"Homepage": "https://github.com/DeltaBotics/cli-log",
"Source": "https://github.com/DeltaBotics/cli-log"
},
"split_keywords": [
"logging"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "521af4a6d0006d6a6f850d65966c9983eb4245c2d1950a17f367fc1b11c61aa6",
"md5": "ee44be57b93dcb4c75dbca11e3617454",
"sha256": "b3fce8f98ceb6aae83128f23d7147c40aeebecb638b4928610a755b5219136cc"
},
"downloads": -1,
"filename": "cli-log-0.2.tar.gz",
"has_sig": false,
"md5_digest": "ee44be57b93dcb4c75dbca11e3617454",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3399,
"upload_time": "2024-04-24T20:31:56",
"upload_time_iso_8601": "2024-04-24T20:31:56.369864Z",
"url": "https://files.pythonhosted.org/packages/52/1a/f4a6d0006d6a6f850d65966c9983eb4245c2d1950a17f367fc1b11c61aa6/cli-log-0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-24 20:31:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "DeltaBotics",
"github_project": "cli-log",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "cli-log"
}