Metadata-Version: 2.4
Name: simple_module_cli
Version: 0.0.8
Summary: Standalone scaffolder for the SimpleModule framework — `sm new`, `sm create-module`, plugin host.
Project-URL: Homepage, https://github.com/antosubash/simple_module_python
Project-URL: Repository, https://github.com/antosubash/simple_module_python
Project-URL: Issues, https://github.com/antosubash/simple_module_python/issues
Author-email: Anto Subash <antosubash@live.com>
License-Expression: MIT
License-File: LICENSE
Keywords: cli,fastapi,modular-monolith,scaffolding,simple-module
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: tomlkit>=0.13
Requires-Dist: typer>=0.12
Description-Content-Type: text/markdown

# simple_module_cli

Standalone scaffolder for the [SimpleModule framework](https://github.com/antosubash/simple_module_python).

## Install

```bash
pip install simple_module_cli
# or, to keep the CLI in its own venv:
pipx install simple_module_cli
# or, to run it without installing:
uvx --from simple_module_cli sm new my-app
```

The package depends only on `typer` and `tomlkit` — installing it does **not** pull in FastAPI, SQLModel, or any other framework runtime.

## Usage

```bash
sm new my-app                       # interactive wizard
sm new my-app --yes --preset full   # all built-in modules + background jobs
sm create-module my_feature         # scaffold a publishable module package
sm create-host bare-host            # scaffold a bare host (no opinionated wiring)
```

Built-in commands: `sm new`, `sm create-host`, `sm create-module`.

When other framework packages are installed, they contribute additional subcommands via the `simple_module_cli.cli_plugins` entry-point group:

| Package | Commands |
|---|---|
| `simple_module_hosting` | `sm host gen-pages`, `sm host sync-js-deps` |
| `simple_module_users`   | `sm users create-admin` |
| `simple_module_settings` | `sm settings import-from-env` |

## License

MIT — see [LICENSE](LICENSE).
