mirror of
https://github.com/d3vyce/fastapi-toolsets.git
synced 2026-03-01 17:00:48 +01:00
* chore: update docstring example to use python code block * docs: add documentation * feat: add docs build + fix other workdlows * fix: add missing return type
28 lines
664 B
Markdown
28 lines
664 B
Markdown
# `cli`
|
|
|
|
Here's the reference for the CLI configuration helpers used to load settings from `pyproject.toml`.
|
|
|
|
You can import them directly from `fastapi_toolsets.cli.config`:
|
|
|
|
```python
|
|
from fastapi_toolsets.cli.config import (
|
|
import_from_string,
|
|
get_config_value,
|
|
get_fixtures_registry,
|
|
get_db_context,
|
|
get_custom_cli,
|
|
)
|
|
```
|
|
|
|
## ::: fastapi_toolsets.cli.config.import_from_string
|
|
|
|
## ::: fastapi_toolsets.cli.config.get_config_value
|
|
|
|
## ::: fastapi_toolsets.cli.config.get_fixtures_registry
|
|
|
|
## ::: fastapi_toolsets.cli.config.get_db_context
|
|
|
|
## ::: fastapi_toolsets.cli.config.get_custom_cli
|
|
|
|
## ::: fastapi_toolsets.cli.utils.async_command
|