vega-framework 0.1.17__py3-none-any.whl → 0.1.19__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vega/cli/templates/cli/command.py.j2 +8 -8
- vega/cli/templates/cli/command_simple.py.j2 +8 -8
- {vega_framework-0.1.17.dist-info → vega_framework-0.1.19.dist-info}/METADATA +1 -1
- {vega_framework-0.1.17.dist-info → vega_framework-0.1.19.dist-info}/RECORD +7 -7
- {vega_framework-0.1.17.dist-info → vega_framework-0.1.19.dist-info}/WHEEL +0 -0
- {vega_framework-0.1.17.dist-info → vega_framework-0.1.19.dist-info}/entry_points.txt +0 -0
- {vega_framework-0.1.17.dist-info → vega_framework-0.1.19.dist-info}/licenses/LICENSE +0 -0
@@ -9,12 +9,12 @@ import config # noqa: F401 - Initialize DI container
|
|
9
9
|
{% endif %}
|
10
10
|
|
11
11
|
@click.command()
|
12
|
-
{
|
12
|
+
{% for option in options %}
|
13
13
|
@click.option('{{ option.flag }}', {{ option.params }})
|
14
|
-
{
|
15
|
-
{
|
14
|
+
{% endfor %}
|
15
|
+
{% for argument in arguments %}
|
16
16
|
@click.argument('{{ argument.name }}'{{ argument.params }})
|
17
|
-
{
|
17
|
+
{% endfor %}
|
18
18
|
@async_command
|
19
19
|
async def {{ command_name }}({{ params_signature }}):
|
20
20
|
"""
|
@@ -33,8 +33,8 @@ async def {{ command_name }}({{ params_signature }}):
|
|
33
33
|
|
34
34
|
# Your command implementation here
|
35
35
|
click.echo("{{ command_name }} executed!")
|
36
|
-
|
37
|
-
{% for param in params_list
|
36
|
+
{% if params_signature %}
|
37
|
+
{% for param in params_list %}
|
38
38
|
click.echo(f" {{ param }}: {{'{'}}{{ param }}{{'}'}}")
|
39
|
-
{% endfor
|
40
|
-
|
39
|
+
{% endfor %}
|
40
|
+
{% endif %}
|
@@ -3,17 +3,17 @@ import click
|
|
3
3
|
|
4
4
|
|
5
5
|
@click.command()
|
6
|
-
{
|
6
|
+
{% for option in options %}
|
7
7
|
@click.option('{{ option.flag }}', {{ option.params }})
|
8
|
-
{
|
9
|
-
{
|
8
|
+
{% endfor %}
|
9
|
+
{% for argument in arguments %}
|
10
10
|
@click.argument('{{ argument.name }}'{{ argument.params }})
|
11
|
-
{
|
11
|
+
{% endfor %}
|
12
12
|
def {{ command_name }}({{ params_signature }}):
|
13
13
|
"""{{ description }}"""
|
14
14
|
click.echo("{{ command_name }} executed!")
|
15
|
-
|
16
|
-
{% for param in params_list
|
15
|
+
{% if params_signature %}
|
16
|
+
{% for param in params_list %}
|
17
17
|
click.echo(f" {{ param }}: {{'{'}}{{ param }}{{'}'}}")
|
18
|
-
{% endfor
|
19
|
-
|
18
|
+
{% endfor %}
|
19
|
+
{% endif %}
|
@@ -11,8 +11,8 @@ vega/cli/scaffolds/__init__.py,sha256=WFJf2H_4UWL89gDxX8PXKkTVSVOfw7hFfyaPWKokp1
|
|
11
11
|
vega/cli/scaffolds/fastapi.py,sha256=dA1RRWuS2HjCRh5q8T-VEBU8r8C-IqRbNZW_SqTv1Wg,3760
|
12
12
|
vega/cli/scaffolds/sqlalchemy.py,sha256=il5JqiA8LSQKnNoOYfAFD82rdYx5l_ZsqsjHnplYohw,6164
|
13
13
|
vega/cli/templates/__init__.py,sha256=0-jsxHcM4IbJiiZXqszm1XiYRYVcHgOivXdq7jqxBrk,1720
|
14
|
-
vega/cli/templates/cli/command.py.j2,sha256=
|
15
|
-
vega/cli/templates/cli/command_simple.py.j2,sha256=
|
14
|
+
vega/cli/templates/cli/command.py.j2,sha256=Z8K9DRfppsco9uID_uG8EKVyWYD_1x-KYqLZY4BJKzM,1097
|
15
|
+
vega/cli/templates/cli/command_simple.py.j2,sha256=PshUZyKtkazSEtaf6E1__hQbX07pz6ojxTXK4TgtUEw,531
|
16
16
|
vega/cli/templates/components.py,sha256=NvGJqjP2-EYy52YW8xihQOV0FHeWhqUEFKul5qe1XFY,7231
|
17
17
|
vega/cli/templates/domain/entity.py.j2,sha256=dl5rzuJMnTRqOdU5SYV2o_OPGy9l6DNf_symCcjdjK0,344
|
18
18
|
vega/cli/templates/domain/interactor.py.j2,sha256=Hv6whUyW67smjMRw_HuvC3_-q7g32dEUOFZdmi5xkrc,684
|
@@ -64,8 +64,8 @@ vega/patterns/repository.py,sha256=uYUyLs-O8OqW1Wb9ZqIo8UUcCjZ5UFuHors_F2iDg9A,1
|
|
64
64
|
vega/patterns/service.py,sha256=buFRgJoeQtZQK22Upb4vh84c1elWKFXWBaB0X4RaruE,1374
|
65
65
|
vega/settings/__init__.py,sha256=Eb8PMUyXAlCAQIcL2W8QhTTUHUbVlkAfXdpTUlADo1I,786
|
66
66
|
vega/settings/base.py,sha256=bL45hyoa3t-hQOvur860eSo7O833sQMsXJJPwbTVbwE,1321
|
67
|
-
vega_framework-0.1.
|
68
|
-
vega_framework-0.1.
|
69
|
-
vega_framework-0.1.
|
70
|
-
vega_framework-0.1.
|
71
|
-
vega_framework-0.1.
|
67
|
+
vega_framework-0.1.19.dist-info/METADATA,sha256=UJ6M0VYz_Vwvc3urAV8WLAroLxIRYSZPLrsadqUmlbU,12271
|
68
|
+
vega_framework-0.1.19.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
69
|
+
vega_framework-0.1.19.dist-info/entry_points.txt,sha256=p3gyTmPYjNRLbuiKS-hG3ytWd-ssBweFy6VZ-F9FTNk,42
|
70
|
+
vega_framework-0.1.19.dist-info/licenses/LICENSE,sha256=wlHh1MBTcs2kSQr99P30mZ61s7uh7Cp9Rk0YiJxots0,1084
|
71
|
+
vega_framework-0.1.19.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|