This commit is contained in:
2026-03-08 00:41:19 +05:30
parent f03e250763
commit 80f8defcc2
18 changed files with 126 additions and 94 deletions

View File

@@ -2,7 +2,7 @@
"module": "openapi_first.cli",
"content": {
"path": "openapi_first.cli",
"docstring": "openapi_first.cli\n========================\n\nCommand-line interface for FastAPI OpenAPI-first scaffolding utilities.\n\nThis CLI bootstraps OpenAPI-first FastAPI applications from versioned,\nbundled templates packaged with the library.",
"docstring": "Command-line interface for FastAPI OpenAPI-first scaffolding utilities.\n\n---\n\n## Summary\n\nThis CLI bootstraps OpenAPI-first FastAPI applications from versioned,\nbundled templates packaged with the library.",
"objects": {
"argparse": {
"name": "argparse",
@@ -43,21 +43,21 @@
"name": "available_templates",
"kind": "function",
"path": "openapi_first.cli.available_templates",
"signature": "<bound method Function.signature of Function('available_templates', 20, 29)>",
"docstring": "Return a list of available application templates."
"signature": "<bound method Function.signature of Function('available_templates', 21, 34)>",
"docstring": "Return a list of available application templates.\n\nReturns:\n list[str]:\n Sorted list of template names found in the internal templates directory."
},
"copy_template": {
"name": "copy_template",
"kind": "function",
"path": "openapi_first.cli.copy_template",
"signature": "<bound method Function.signature of Function('copy_template', 32, 49)>",
"docstring": "Copy a bundled OpenAPI-first application template into a directory."
"signature": "<bound method Function.signature of Function('copy_template', 37, 64)>",
"docstring": "Copy a bundled OpenAPI-first application template into a directory.\n\nArgs:\n template (str):\n Name of the template to copy.\n target_dir (Path):\n Filesystem path where the template should be copied.\n\nRaises:\n FileNotFoundError:\n If the requested template does not exist."
},
"main": {
"name": "main",
"kind": "function",
"path": "openapi_first.cli.main",
"signature": "<bound method Function.signature of Function('main', 52, 88)>",
"signature": "<bound method Function.signature of Function('main', 67, 103)>",
"docstring": null
}
}