Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/pt_snap_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ def query_database(
list_by_category_with_details,
)

# Implicit list mode when --category is provided without --template-use
if category is not None and not list_templates and not template_use and not template_info:
list_templates = True

if list_templates:
categories = ["basic", "statistical", "business"]
category_labels = {
Expand Down
Loading