Metadata-Version: 2.4
Name: kernia-cli
Version: 0.1.0
Summary: CLI for Kernia (codegen, migrations)
Project-URL: Homepage, https://kernia.dev
Project-URL: Documentation, https://kernia.dev/docs
Project-URL: Source, https://github.com/advantch/kernia
Project-URL: Issues, https://github.com/advantch/kernia/issues
Project-URL: Changelog, https://github.com/advantch/kernia/releases
Author: Advantch
License-Expression: MIT
License-File: LICENSE
Keywords: asgi,authentication,authorization,django,fastapi,oauth,passkeys,security,sessions,sso,starlette
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP :: Session
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: alembic>=1.13
Requires-Dist: click>=8.1
Requires-Dist: kernia>=0.1.0
Requires-Dist: sqlalchemy>=2.0
Description-Content-Type: text/markdown

# kernia-cli

Command-line tools for Kernia: scaffold a project, generate and apply database migrations, and manage secrets.

Part of [Kernia](https://kernia.dev), a framework-agnostic authentication library for Python.

## Installation

    pip install kernia-cli

## Usage

```bash
kernia init --adapter sqlite --framework fastapi   # writes auth.py + .env.example
kernia secret                                      # generate a KERNIA_SECRET
kernia generate                                    # emit a database migration
kernia migrate                                     # apply it
kernia info                                         # print resolved config
```

Run `kernia --help` for the full command tree.

## Documentation

Full documentation at [kernia.dev/docs](https://kernia.dev/docs). Source at [github.com/advantch/kernia](https://github.com/advantch/kernia).

## License

MIT
