fact-sphere-cli-1.1.0
توضیحات
A CLI for Portal 2 Fact Sphere facts.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fact-sphere-cli-1.1.0 |
| نام | fact-sphere-cli |
| نسخه کتابخانه | 1.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | thebigmunch |
| ایمیل نویسنده | mail@thebigmunch.me |
| آدرس صفحه اصلی | https://github.com/thebigmunch/fact-sphere-cli |
| آدرس اینترنتی | https://pypi.org/project/fact-sphere-cli/ |
| مجوز | MIT |
# fact-sphere-cli
[](https://pypi.org/project/fact-sphere-cli/)

[](https://github.com/thebigmunch/fact-sphere-cli/actions?query=workflow%3ACI)
[fact-sphere-cli](https://github.com/thebigmunch/fact-sphere-cli) is a CLI for Portal 2 Fact Sphere facts using the
[fact-sphere](https://github.com/thebigmunch/fact-sphere) library.
## Installation
``pip install -U fact-sphere-cli``
## Usage
```
Usage: fact-sphere [OPTIONS] COMMAND
A CLI for Portal 2 Fact Sphere facts.
Options:
-V, --version Show the version and exit.
-h, --help Show this message and exit.
Commands:
text* Get the text for a random fact.
audio Get the filepath or file content for a random fact.
fact Get the text, filepath, and type for a random fact.
```
A plain ``fact-sphere`` call defaults to running the ``text`` command.
The only option is for the ``audio`` command. Use ``--read`` option
to output the binary file content of the audio for piping.
## Appreciation
Showing appreciation is always welcome.
#### Thank
[](https://saythanks.io/to/thebigmunch)
Get your own thanks inbox at [SayThanks.io](https://saythanks.io/).
#### Contribute
[Contribute](https://github.com/thebigmunch/fact-sphere-cli/blob/master/.github/CONTRIBUTING.md) by submitting bug reports, feature requests, or code.
#### Help Others/Stay Informed
[Discourse forum](https://forum.thebigmunch.me/)
#### Referrals/Donations
[](https://bit.ly/DigitalOcean-tbm-referral) [](http://bit.ly/Namecheap-tbm-referral) [](https://bit.ly/PayPal-thebigmunch)
نیازمندی
| مقدار | نام |
|---|---|
| >=6.0 | click |
| >=1.2,<2.0 | click-default-group |
| >=1.0.1,<2.0.0 | fact-sphere |
| >=3.5,<4.0) | flake8 |
| >=1.0,<2.0) | flake8-builtins |
| >=2.0,<=4.0) | flake8-comprehensions |
| >=0.18,<0.19) | flake8-import-order |
| >=1.0,<2.0) | flake8-import-order-tbm |
| >=2019,<2020) | nox |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl fact-sphere-cli-1.1.0:
pip install fact-sphere-cli-1.1.0.whl
نصب پکیج tar.gz fact-sphere-cli-1.1.0:
pip install fact-sphere-cli-1.1.0.tar.gz