Metadata-Version: 2.1
Name: fact-sphere-cli
Version: 1.1.0
Summary: A CLI for Portal 2 Fact Sphere facts.
Home-page: https://github.com/thebigmunch/fact-sphere-cli
License: MIT
Author: thebigmunch
Author-email: mail@thebigmunch.me
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Provides-Extra: dev
Provides-Extra: lint
Requires-Dist: click (>=6.0)
Requires-Dist: click-default-group (>=1.2,<2.0)
Requires-Dist: fact-sphere (>=1.0.1,<2.0.0)
Requires-Dist: flake8 (>=3.5,<4.0); extra == "dev" or extra == "lint"
Requires-Dist: flake8-builtins (>=1.0,<2.0); extra == "dev" or extra == "lint"
Requires-Dist: flake8-comprehensions (>=2.0,<=4.0); extra == "dev" or extra == "lint"
Requires-Dist: flake8-import-order (>=0.18,<0.19); extra == "dev" or extra == "lint"
Requires-Dist: flake8-import-order-tbm (>=1.0,<2.0); extra == "dev" or extra == "lint"
Requires-Dist: nox (>=2019,<2020); extra == "dev"
Project-URL: Repository, https://github.com/thebigmunch/fact-sphere-cli
Description-Content-Type: text/markdown

# fact-sphere-cli

[![PyPI](https://img.shields.io/pypi/v/fact-sphere-cli.svg?label=PyPI)](https://pypi.org/project/fact-sphere-cli/)
![](https://img.shields.io/badge/Python-3.6%2B-blue.svg)  
[![GitHub CI](https://img.shields.io/github/workflow/status/thebigmunch/fact-sphere-cli/CI?label=GitHub%20CI)](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

[![Say Thanks](https://img.shields.io/badge/thank-thebigmunch-blue.svg?style=flat-square)](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

[![Digital Ocean](https://img.shields.io/badge/Digital_Ocean-referral-orange.svg?style=flat-square)](https://bit.ly/DigitalOcean-tbm-referral) [![Namecheap](https://img.shields.io/badge/Namecheap-referral-orange.svg?style=flat-square)](http://bit.ly/Namecheap-tbm-referral) [![PayPal](https://img.shields.io/badge/PayPal-donate-brightgreen.svg?style=flat-square)](https://bit.ly/PayPal-thebigmunch)

