File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- CTL: List available transforms if no name is provided
1
+ CTL: List available transforms and generators if no name is provided
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ def render(
267
267
variables_dict = parse_cli_vars (variables )
268
268
repository_config = get_repository_config (Path (config .INFRAHUB_REPO_CONFIG_FILE ))
269
269
270
- if list_available :
270
+ if list_available or not transform_name :
271
271
list_jinja2_transforms (config = repository_config )
272
272
return
273
273
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ async def run(
23
23
) -> None : # pylint: disable=unused-argument
24
24
repository_config = get_repository_config (Path (config .INFRAHUB_REPO_CONFIG_FILE ))
25
25
26
- if list_available :
26
+ if list_available or not generator_name :
27
27
list_generators (repository_config = repository_config )
28
28
return
29
29
You can’t perform that action at this time.
0 commit comments