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 9a55b9b commit 0721012Copy full SHA for 0721012
ctfcli/cli/templates.py
@@ -19,7 +19,7 @@ def uninstall(self, template_name):
19
20
def list(self):
21
template_dir = get_template_dir() + "/"
22
- for template in glob(f"{template_dir}/**/*/cookiecutter.json"):
+ for template in glob(f"{template_dir}/**/*/cookiecutter.json", recursive=True):
23
# Remove prefix of template_dir and remove suffix of /cookiecutter.json
24
template = template[len(template_dir) : -len("/cookiecutter.json")]
25
print(template)
0 commit comments