Metadata-Version: 2.4
Name: bad-decisions-client
Version: 1.6.0
Summary: Cross-platform terminal client for Bad Decisions services
Project-URL: Homepage, https://github.com/BytesAndCoffee/bad-decisions
Project-URL: Documentation, https://github.com/BytesAndCoffee/bad-decisions#readme
Author: Bad Decisions contributors
Maintainer: BytesAndCoffee
License: MIT
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.9
Requires-Dist: packaging>=23
Description-Content-Type: text/markdown

# Bad Decisions terminal client

`bad-decisions-client` is a dependency-free terminal client for a Bad
Decisions service. It contains no card corpus and runs on Linux, macOS, and
Windows.

```bash
python -m pip install bad-decisions-client
regret health
regret deal
regret deal --packs base,maha
regret provenance
regret provenance --json
regret --list-packs
```

Consequences is opt-in and disabled until you choose:

```bash
regret consequences status
regret consequences enjoy
regret consequences regret
```

The first interactive deal prompts once when no preference is stored; non-interactive
runs remain disabled. When enabled, voting and its pseudonymous telemetry are
available. The client also performs a cached, best-effort daily check against the configured API version.

`regret provenance` prints the licenses, attribution, versions, and source
records for every pack represented in the last locally saved draw. It does not
make a network request. A successful draw with provenance replaces the saved
record; feedback capability details are retained only when that same draw is
eligible for voting.

The default endpoint is `https://bytes.coffee/bad-decisions`. Use `--api-url`
for another compatible deployment. Connection and API failures return a
non-zero exit status.

## Changelog

See [CHANGELOG.md](https://github.com/BytesAndCoffee/bad-decisions/blob/main/client/CHANGELOG.md) for client release notes.

## Release

Build and validate before uploading a new immutable PyPI version:

```bash
cd client
python -m build
twine check dist/*
```
