We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec8a823 commit 76ae988Copy full SHA for 76ae988
template/{{generator_name}}.py.jinja
@@ -1,4 +1,6 @@
1
"""Custom fastapi-mvc {{generator_name}} generator implementation."""
2
+import os
3
+
4
import click
5
from fastapi_mvc import Generator
6
@@ -20,7 +22,7 @@ Example:
20
22
@click.command(
21
23
cls=Generator,
24
# Or use repository address
- template="./.",
25
+ template=os.path.dirname(__file__),
26
category="Custom",
27
help=cmd_help,
28
short_help=cmd_short_help,
0 commit comments