-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhelp.sh
More file actions
69 lines (53 loc) · 2.38 KB
/
help.sh
File metadata and controls
69 lines (53 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/bin/bash
YELLOW='\033[0;33m'
GREEN='\033[0;32m'
RESET='\033[0m'
echo "${YELLOW}Available scripts and their usage:${RESET}
📄 ${GREEN}describe-page-or-template.sh${RESET} -i <page_or_template_id>
Describe a specific page or template with its chains, features, and content sources
-i: Page or Template ID (required, min 2 characters)
📁 ${GREEN}all-chains-usage.sh${RESET} [-c]
Shows all chains used in published pages, templates and how many times they are used
-c: Output in CSV format
🔍 ${GREEN}find-pages-by-chain-name.sh${RESET} -n <chain_name> [-c]
Find all pages using a specific chain
-n: Chain name (required, min 2 characters)
-c: Output in CSV format
📁 ${GREEN}all-features-usage.sh${RESET} [-c]
Shows all features used in published pages, templates and how many times they are used
-c: Output in CSV format
🔍 ${GREEN}find-pages-by-feature-name.sh${RESET} -n <feature_name> [-c]
Find all pages using a specific feature
-n: Feature name (required, min 2 characters)
-c: Output in CSV format
📁 ${GREEN}all-content-sources-usage.sh${RESET} [-c]
Shows content sources usage across features
-c: Output in CSV format
🔍 ${GREEN}find-features-by-content-source.sh${RESET} -n <content_source> [-c]
Find all features using a specific content source name (like match)
-n: Content source filter (required, min 2 characters)
-c: Output in CSV format
📁 ${GREEN}all-content-sources-resolvers.sh${RESET} [-c]
Shows content sources usage across resolvers
-c: Output in CSV format
🔍 ${GREEN}find-resolvers-by-content-source.sh${RESET} -n <content_source> [-c]
Find all resolvers using a specific content source name (exact match)
-n: Content source name (required, min 2 characters)
-c: Output in CSV format
📁 ${GREEN}all-page-urls.sh${RESET} [-c]
Shows all published pages with their URIs
-c: Output in CSV format
🔍 ${GREEN}find-pages-by-uri.sh${RESET} -u <uri_filter> [-c]
Find all pages with a specific URI
-u: URI filter (required, min 2 characters)
-c: Output in CSV format
📦 ${GREEN}view-page-and-template.sh${RESET} [-c]
Select all from view_page_and_template
-c: Output in CSV format
📦 ${GREEN}view-rendering.sh${RESET} [-c]
Select all from view_rendering
-c: Output in CSV format
📦 ${GREEN}view-resolver.sh${RESET} [-c]
Select all from view_resolver
-c: Output in CSV format
"