@salesforce/plugin-orchestrator 1.0.0

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.
Files changed (110) hide show
  1. package/LICENSE +28 -0
  2. package/LICENSE.txt +12 -0
  3. package/README.md +145 -0
  4. package/lib/commands/orchestrator/create/app.d.ts +19 -0
  5. package/lib/commands/orchestrator/create/app.js +144 -0
  6. package/lib/commands/orchestrator/create/app.js.map +1 -0
  7. package/lib/commands/orchestrator/create/template.d.ts +17 -0
  8. package/lib/commands/orchestrator/create/template.js +96 -0
  9. package/lib/commands/orchestrator/create/template.js.map +1 -0
  10. package/lib/commands/orchestrator/decouple/app.d.ts +14 -0
  11. package/lib/commands/orchestrator/decouple/app.js +106 -0
  12. package/lib/commands/orchestrator/decouple/app.js.map +1 -0
  13. package/lib/commands/orchestrator/delete/app.d.ts +15 -0
  14. package/lib/commands/orchestrator/delete/app.js +102 -0
  15. package/lib/commands/orchestrator/delete/app.js.map +1 -0
  16. package/lib/commands/orchestrator/delete/template.d.ts +15 -0
  17. package/lib/commands/orchestrator/delete/template.js +108 -0
  18. package/lib/commands/orchestrator/delete/template.js.map +1 -0
  19. package/lib/commands/orchestrator/display/app.d.ts +15 -0
  20. package/lib/commands/orchestrator/display/app.js +85 -0
  21. package/lib/commands/orchestrator/display/app.js.map +1 -0
  22. package/lib/commands/orchestrator/display/template.d.ts +15 -0
  23. package/lib/commands/orchestrator/display/template.js +105 -0
  24. package/lib/commands/orchestrator/display/template.js.map +1 -0
  25. package/lib/commands/orchestrator/list/app.d.ts +13 -0
  26. package/lib/commands/orchestrator/list/app.js +62 -0
  27. package/lib/commands/orchestrator/list/app.js.map +1 -0
  28. package/lib/commands/orchestrator/list/template.d.ts +14 -0
  29. package/lib/commands/orchestrator/list/template.js +64 -0
  30. package/lib/commands/orchestrator/list/template.js.map +1 -0
  31. package/lib/commands/orchestrator/template/create.d.ts +17 -0
  32. package/lib/commands/orchestrator/template/create.js +96 -0
  33. package/lib/commands/orchestrator/template/create.js.map +1 -0
  34. package/lib/commands/orchestrator/template/delete.d.ts +15 -0
  35. package/lib/commands/orchestrator/template/delete.js +108 -0
  36. package/lib/commands/orchestrator/template/delete.js.map +1 -0
  37. package/lib/commands/orchestrator/template/display.d.ts +15 -0
  38. package/lib/commands/orchestrator/template/display.js +105 -0
  39. package/lib/commands/orchestrator/template/display.js.map +1 -0
  40. package/lib/commands/orchestrator/template/list.d.ts +13 -0
  41. package/lib/commands/orchestrator/template/list.js +62 -0
  42. package/lib/commands/orchestrator/template/list.js.map +1 -0
  43. package/lib/commands/orchestrator/template/update.d.ts +17 -0
  44. package/lib/commands/orchestrator/template/update.js +107 -0
  45. package/lib/commands/orchestrator/template/update.js.map +1 -0
  46. package/lib/commands/orchestrator/update/app.d.ts +20 -0
  47. package/lib/commands/orchestrator/update/app.js +145 -0
  48. package/lib/commands/orchestrator/update/app.js.map +1 -0
  49. package/lib/commands/orchestrator/update/template.d.ts +17 -0
  50. package/lib/commands/orchestrator/update/template.js +107 -0
  51. package/lib/commands/orchestrator/update/template.js.map +1 -0
  52. package/lib/index.d.ts +2 -0
  53. package/lib/index.js +8 -0
  54. package/lib/index.js.map +1 -0
  55. package/lib/utils/app/appDisplayUtil.d.ts +26 -0
  56. package/lib/utils/app/appDisplayUtil.js +153 -0
  57. package/lib/utils/app/appDisplayUtil.js.map +1 -0
  58. package/lib/utils/app/appListUtils.d.ts +34 -0
  59. package/lib/utils/app/appListUtils.js +81 -0
  60. package/lib/utils/app/appListUtils.js.map +1 -0
  61. package/lib/utils/app/appTypes.d.ts +44 -0
  62. package/lib/utils/app/appTypes.js +8 -0
  63. package/lib/utils/app/appTypes.js.map +1 -0
  64. package/lib/utils/app/appframeworkapp.d.ts +64 -0
  65. package/lib/utils/app/appframeworkapp.js +175 -0
  66. package/lib/utils/app/appframeworkapp.js.map +1 -0
  67. package/lib/utils/display/displayUtil.d.ts +27 -0
  68. package/lib/utils/display/displayUtil.js +80 -0
  69. package/lib/utils/display/displayUtil.js.map +1 -0
  70. package/lib/utils/request.d.ts +15 -0
  71. package/lib/utils/request.js +18 -0
  72. package/lib/utils/request.js.map +1 -0
  73. package/lib/utils/template/appframeworktemplate.d.ts +67 -0
  74. package/lib/utils/template/appframeworktemplate.js +114 -0
  75. package/lib/utils/template/appframeworktemplate.js.map +1 -0
  76. package/lib/utils/template/templateDisplayUtil.d.ts +42 -0
  77. package/lib/utils/template/templateDisplayUtil.js +142 -0
  78. package/lib/utils/template/templateDisplayUtil.js.map +1 -0
  79. package/lib/utils/template/templateHighlighter.d.ts +23 -0
  80. package/lib/utils/template/templateHighlighter.js +68 -0
  81. package/lib/utils/template/templateHighlighter.js.map +1 -0
  82. package/lib/utils/template/templateListUtils.d.ts +40 -0
  83. package/lib/utils/template/templateListUtils.js +126 -0
  84. package/lib/utils/template/templateListUtils.js.map +1 -0
  85. package/lib/utils/template/templateTypes.d.ts +114 -0
  86. package/lib/utils/template/templateTypes.js +15 -0
  87. package/lib/utils/template/templateTypes.js.map +1 -0
  88. package/lib/utils/utils.d.ts +21 -0
  89. package/lib/utils/utils.js +49 -0
  90. package/lib/utils/utils.js.map +1 -0
  91. package/messages/appframework.create.app.md +124 -0
  92. package/messages/appframework.create.template.md +82 -0
  93. package/messages/appframework.decouple.app.md +82 -0
  94. package/messages/appframework.delete.app.md +94 -0
  95. package/messages/appframework.delete.template.md +162 -0
  96. package/messages/appframework.display.app.md +70 -0
  97. package/messages/appframework.display.template.md +101 -0
  98. package/messages/appframework.list.app.md +126 -0
  99. package/messages/appframework.list.template.md +78 -0
  100. package/messages/appframework.template.create.md +82 -0
  101. package/messages/appframework.template.delete.md +162 -0
  102. package/messages/appframework.template.display.md +101 -0
  103. package/messages/appframework.template.list.md +78 -0
  104. package/messages/appframework.template.update.md +78 -0
  105. package/messages/appframework.update.app.md +142 -0
  106. package/messages/appframework.update.template.md +78 -0
  107. package/npm-shrinkwrap.json +14309 -0
  108. package/oclif.lock +7751 -0
  109. package/oclif.manifest.json +1731 -0
  110. package/package.json +226 -0
@@ -0,0 +1,162 @@
1
+ # summary
2
+
3
+ Delete an AppFramework template.
4
+
5
+ # description
6
+
7
+ Deletes an existing template. By default, apps created from this template will remain but will no longer be linked to the template. Use --force-delete to delete both the template and all apps created from it. Use --decouple to keep the apps but remove their link to the template.
8
+
9
+ # flags.target-org.summary
10
+
11
+ Login username or alias for the target org
12
+
13
+ # flags.target-org.description
14
+
15
+ The target org to connect to for deleting the template.
16
+
17
+ # flags.api-version.summary
18
+
19
+ Override the api version used for api requests
20
+
21
+ # flags.api-version.description
22
+
23
+ Override the api version used for api requests to the app framework.
24
+
25
+ # flags.template-id.summary
26
+
27
+ ID of the template to delete
28
+
29
+ # flags.template-id.description
30
+
31
+ The unique identifier of the template to delete.
32
+
33
+ # flags.template-name.summary
34
+
35
+ Name of the template to delete
36
+
37
+ # flags.template-name.description
38
+
39
+ The name of the template to delete. Use this if you don't know the template ID.
40
+
41
+ # flags.force-delete.summary
42
+
43
+ Force delete the template and all apps created from it
44
+
45
+ # flags.force-delete.description
46
+
47
+ When set, all apps created from this template will also be deleted. Otherwise, the apps will remain but will no longer be linked to any template.
48
+
49
+ # flags.decouple.summary
50
+
51
+ Decouple apps from this template before deleting it
52
+
53
+ # flags.decouple.description
54
+
55
+ When set, apps created from this template will have their link to the template removed before the template is deleted. This allows the apps to exist independently after the template is gone.
56
+
57
+ # flags.no-prompt.summary
58
+
59
+ Do not prompt for confirmation
60
+
61
+ # flags.no-prompt.description
62
+
63
+ Skip the confirmation prompt before deleting the template.
64
+
65
+ # fetchingTemplate
66
+
67
+ Fetching template information...
68
+
69
+ # deletingTemplate
70
+
71
+ Deleting template...
72
+
73
+ # decouplingApps
74
+
75
+ Decoupling apps from template...
76
+
77
+ # deletingApps
78
+
79
+ Deleting apps created from this template...
80
+
81
+ # confirmDeleteYesNo
82
+
83
+ Are you sure you want to delete this template? Apps created from it will remain but will no longer be linked to the template. (y/n)
84
+
85
+ # confirmForceDeleteYesNo
86
+
87
+ WARNING: This will delete the template AND all apps created from it. This operation cannot be undone. Continue? (y/n)
88
+
89
+ # confirmDecoupleYesNo
90
+
91
+ This will decouple all apps from the template and then delete the template. Apps will remain independent after the template is gone. Continue? (y/n)
92
+
93
+ # deleteTemplateSuccess
94
+
95
+ Successfully deleted template with ID: %s
96
+
97
+ # error.MissingRequiredFlag
98
+
99
+ You must provide either template-id or template-name.
100
+
101
+ # error.MissingRequiredFlag.Actions
102
+
103
+ - Specify the template ID with --template-id
104
+ - Or specify the template name with --template-name
105
+
106
+ # error.TemplateNotFound
107
+
108
+ Could not find template: %s
109
+
110
+ # error.TemplateNotFound.Actions
111
+
112
+ - Verify the template ID or name is correct
113
+ - Use 'sf appframework list template' to see available templates
114
+
115
+ # error.CertificateError
116
+
117
+ Error connecting to Salesforce: Certificate validation failed.
118
+
119
+ # error.CertificateError.Actions
120
+
121
+ - Check your network connection
122
+ - Verify you have valid certificates
123
+ - Try again with a different org
124
+
125
+ # error.AuthenticationError
126
+
127
+ Error connecting to Salesforce: Authentication failed.
128
+
129
+ # error.AuthenticationError.Actions
130
+
131
+ - Verify your credentials
132
+ - Run 'sf org login' to reauthenticate
133
+ - Check if your session has expired
134
+
135
+ # error.GenericError
136
+
137
+ Error deleting template: %s
138
+
139
+ # error.GenericError.Actions
140
+
141
+ - Review the error message for details
142
+ - Check if you have permission to delete templates
143
+ - Verify the template isn't being used by active apps
144
+
145
+ # deleteAppSuccess
146
+
147
+ Successfully deleted app '%s' (ID: %s)
148
+
149
+ # decoupleAppSuccess
150
+
151
+ Successfully decoupled app '%s' (ID: %s) from template
152
+
153
+ # deletionCancelled
154
+
155
+ Template deletion cancelled.
156
+
157
+ # examples
158
+
159
+ - <%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ
160
+ - <%= config.bin %> <%= command.id %> --template-name "My Template"
161
+ - <%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --force-delete
162
+ - <%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --no-prompt
@@ -0,0 +1,70 @@
1
+ # summary
2
+
3
+ Display details of an AppFramework app.
4
+
5
+ # description
6
+
7
+ Display detailed information about a specific AppFramework app. You must specify either the --app-id or --app-name flag to identify the app.
8
+
9
+ # flags.target-org.summary
10
+
11
+ Login username or alias for the target org.
12
+
13
+ # flags.target-org.description
14
+
15
+ Overrides your default org.
16
+
17
+ # flags.api-version.summary
18
+
19
+ Override the api version used for api requests made by this command.
20
+
21
+ # flags.api-version.description
22
+
23
+ Override the api version used for api requests made by this command.
24
+
25
+ # flags.app-id.summary
26
+
27
+ ID of the app to display.
28
+
29
+ # flags.app-id.description
30
+
31
+ Specify the ID of the app to display. Either this or --app-name is required.
32
+
33
+ # flags.app-name.summary
34
+
35
+ Name of the app to display.
36
+
37
+ # flags.app-name.description
38
+
39
+ Specify the name of the app to display. Either this or --app-id is required.
40
+
41
+ # noAppSpecified
42
+
43
+ No app specified. You must specify either an app ID with --app-id or an app name with --app-name.
44
+
45
+ # fetchingApp
46
+
47
+ Fetching app details...
48
+
49
+ # noAppFound
50
+
51
+ No app found with the specified ID or name.
52
+
53
+ # error.RetrievalError
54
+
55
+ Failed to retrieve app details: %s
56
+
57
+ # error.RetrievalError.Actions
58
+
59
+ - Check that the app ID or name is correct
60
+ - Verify you have permissions to view apps in this org
61
+ - Ensure your authentication to the org is valid
62
+ - Try running with --debug for more details
63
+
64
+ # examples
65
+
66
+ - Display app details by ID:
67
+ <%= config.bin %> <%= command.id %> --app-id 00Dxx0000000001
68
+
69
+ - Display app details by name:
70
+ <%= config.bin %> <%= command.id %> --app-name "My App"
@@ -0,0 +1,101 @@
1
+ # summary
2
+
3
+ Display details of an AppFramework template.
4
+
5
+ # description
6
+
7
+ Shows detailed information about a specific AppFramework template including its name, label, ID, type, and other properties.
8
+
9
+ # flags.template-id.summary
10
+
11
+ The ID of the template to display.
12
+
13
+ # flags.template-id.description
14
+
15
+ Specify the unique identifier of the template you want to display. Use this flag when you know the template's ID.
16
+
17
+ # flags.template-name.summary
18
+
19
+ The name of the template to display.
20
+
21
+ # flags.template-name.description
22
+
23
+ Specify the name of the template you want to display. Use this flag when you know the template's name but not its ID.
24
+
25
+ # flags.target-org.summary
26
+
27
+ Login username or alias for the target org
28
+
29
+ # flags.target-org.description
30
+
31
+ The target org to connect to for displaying the template.
32
+
33
+ # flags.api-version.summary
34
+
35
+ Override the api version used for api requests
36
+
37
+ # flags.api-version.description
38
+
39
+ Override the api version used for api requests to the app framework.
40
+
41
+ # fetchingTemplate
42
+
43
+ Fetching AppFramework template...
44
+
45
+ # error.MissingRequiredFlag
46
+
47
+ Either --template-id or --template-name must be provided
48
+
49
+ # error.MissingRequiredFlag.Actions
50
+
51
+ - Use --template-id to specify a template by ID
52
+ - Use --template-name to specify a template by name
53
+
54
+ # error.CertificateError
55
+
56
+ Error retrieving AppFramework template: Certificate validation error
57
+
58
+ # error.CertificateError.Actions
59
+
60
+ - This appears to be a certificate validation issue, which is common in dev environments
61
+ - Try specifying the API version with --api-version=64.0 (or your org's version)
62
+ - Make sure you're using the correct org with -o YOUR_ORG_ALIAS
63
+ - If using a sandbox or scratch org, ensure your connection is properly authenticated
64
+
65
+ # error.AuthenticationError
66
+
67
+ Error retrieving AppFramework template: Authentication issue
68
+
69
+ # error.AuthenticationError.Actions
70
+
71
+ - Your session may have expired or you may not have permission to access this resource
72
+ - Try running sf org refresh to update your credentials
73
+ - Ensure you have AppFramework enabled and have permission to view templates
74
+
75
+ # error.TemplateNotFound
76
+
77
+ Template %s not found
78
+
79
+ # error.TemplateNotFound.Actions
80
+
81
+ - Verify that you have the correct template ID or name
82
+ - Ensure the template exists in this org
83
+ - Check your permissions to view templates
84
+
85
+ # error.GenericError
86
+
87
+ Error retrieving AppFramework template: %s
88
+
89
+ # error.GenericError.Actions
90
+
91
+ - Verify that you are using an org with AppFramework enabled
92
+ - Check that the template ID or name is correct
93
+ - Check your credentials and permissions
94
+ - Try running sf org refresh to update your credentials
95
+
96
+ # examples
97
+
98
+ - Display a template using its ID:
99
+ <%= config.bin %> <%= command.id %> --template-id 01RM0000000HwBGMA0
100
+ - Display a template using its name:
101
+ <%= config.bin %> <%= command.id %> --template-name MyTemplate
@@ -0,0 +1,126 @@
1
+ # summary
2
+
3
+ List AppFramework apps in your org.
4
+
5
+ # description
6
+
7
+ Lists all AppFramework apps in your org. You can filter the results by template type and other criteria.
8
+
9
+ # flags.target-org.summary
10
+
11
+ Login username or alias for the target org.
12
+
13
+ # flags.target-org.description
14
+
15
+ Overrides your default org.
16
+
17
+ # flags.api-version.summary
18
+
19
+ Override the api version used for api requests made by this command.
20
+
21
+ # flags.api-version.description
22
+
23
+ Override the api version used for api requests made by this command.
24
+
25
+ # flags.filter-type.summary
26
+
27
+ Filter apps by template type.
28
+
29
+ # flags.filter-type.description
30
+
31
+ Only show apps with the specified template type, such as 'app', 'dashboard', or 'analytics'.
32
+
33
+ # flags.filter-subtype.summary
34
+
35
+ Filter apps by template subtype.
36
+
37
+ # flags.filter-subtype.description
38
+
39
+ Only show apps with the specified template subtype.
40
+
41
+ # flags.json.summary
42
+
43
+ Format output as JSON.
44
+
45
+ # flags.json.description
46
+
47
+ Format output as a JSON array of app records.
48
+
49
+ # flags.csv.summary
50
+
51
+ Format output as CSV.
52
+
53
+ # flags.csv.description
54
+
55
+ Format output as CSV on the specified fields.
56
+
57
+ # flags.csv-fields.summary
58
+
59
+ Fields to include when generating CSV output.
60
+
61
+ # flags.csv-fields.description
62
+
63
+ Specify a comma-separated list of field API names to include in the CSV output.
64
+
65
+ # fetchingApps
66
+
67
+ Fetching apps from AppFramework. This might take a moment...
68
+
69
+ # noAppsFound
70
+
71
+ No AppFramework apps found in the org.
72
+
73
+ # emptyFilteredApps
74
+
75
+ No apps found matching the specified filters.
76
+
77
+ # error.ListError
78
+
79
+ Failed to list apps: %s
80
+
81
+ # error.ListError.Actions
82
+
83
+ - Verify you have permissions to view apps in this org
84
+ - Ensure your authentication to the org is valid
85
+ - Try running with --debug for more details
86
+
87
+ # examples
88
+
89
+ - List all AppFramework apps in your default org:
90
+ <%= config.bin %> <%= command.id %>
91
+ - List apps with a specific API version:
92
+ <%= config.bin %> <%= command.id %> --api-version=64.0
93
+
94
+ # noResultsFound
95
+
96
+ No AppFramework apps found in the org.
97
+
98
+ # error.CertificateError
99
+
100
+ Certificate error: Unable to connect to the org. This is typically caused by an SSL certificate error.
101
+
102
+ # error.CertificateError.Actions
103
+
104
+ - Check your network connection and try again.
105
+ - Ensure that your network is not blocking or intercepting HTTPS requests.
106
+ - If you are behind a corporate proxy, ensure that your proxy certificates are properly configured.
107
+
108
+ # error.AuthenticationError
109
+
110
+ Authentication error: Unable to authenticate with the org. Please check your credentials and try again.
111
+
112
+ # error.AuthenticationError.Actions
113
+
114
+ - Use `sf org login` to log in to the org again.
115
+ - Ensure that your user has the necessary permissions to access the AppFramework API.
116
+ - Check if your authentication token has expired.
117
+
118
+ # error.GenericError
119
+
120
+ An error occurred while listing apps: %s
121
+
122
+ # error.GenericError.Actions
123
+
124
+ - Check the error message above for more details.
125
+ - Ensure that AppFramework is enabled in your org.
126
+ - Ensure that your user has the necessary permissions.
@@ -0,0 +1,78 @@
1
+ # summary
2
+
3
+ List all available AppFramework templates in the target org.
4
+
5
+ # description
6
+
7
+ Lists AppFramework templates available in the target org. Shows template name, label, ID and other information.
8
+
9
+ # flags.target-org.summary
10
+
11
+ Login username or alias for the target org
12
+
13
+ # flags.target-org.description
14
+
15
+ The target org to connect to for listing templates.
16
+
17
+ # flags.api-version.summary
18
+
19
+ Override the api version used for api requests
20
+
21
+ # flags.api-version.description
22
+
23
+ Override the api version used for api requests to the app framework.
24
+
25
+ # templatesFound
26
+
27
+ Found %s AppFramework templates:
28
+
29
+ # noResultsFound
30
+
31
+ No AppFramework templates found.
32
+
33
+ # fetchingTemplates
34
+
35
+ Fetching AppFramework templates...
36
+
37
+ # templateTypeLegend
38
+
39
+ Legend: %s - Application templates, %s - Component templates, %s - Other template types
40
+
41
+ # error.CertificateError
42
+
43
+ Error retrieving AppFramework templates: Certificate validation error
44
+
45
+ # error.CertificateError.Actions
46
+
47
+ - This appears to be a certificate validation issue, which is common in dev environments
48
+ - Try specifying the API version with --api-version=64.0 (or your org's version)
49
+ - Make sure you're using the correct org with -o YOUR_ORG_ALIAS
50
+ - If using a sandbox or scratch org, ensure your connection is properly authenticated
51
+
52
+ # error.AuthenticationError
53
+
54
+ Error retrieving AppFramework templates: Authentication issue
55
+
56
+ # error.AuthenticationError.Actions
57
+
58
+ - Your session may have expired or you may not have permission to access this resource
59
+ - Try running sf org refresh to update your credentials
60
+ - Ensure you have AppFramework enabled and have permission to view templates
61
+
62
+ # error.GenericError
63
+
64
+ Error retrieving AppFramework templates: %s
65
+
66
+ # error.GenericError.Actions
67
+
68
+ - Verify that you are using an org with AppFramework enabled
69
+ - Check that your credentials and permissions are valid
70
+ - Check your internet connection
71
+ - Try running sf org refresh to update your credentials
72
+
73
+ # examples
74
+
75
+ - List all AppFramework templates in your default org:
76
+ <%= config.bin %> <%= command.id %>
77
+ - List templates with a specific API version:
78
+ <%= config.bin %> <%= command.id %> --api-version=64.0
@@ -0,0 +1,82 @@
1
+ # summary
2
+
3
+ Create a new AppFramework template.
4
+
5
+ # description
6
+
7
+ Creates a new empty template that can be customized. Templates allow you to define reusable configurations for AppFramework applications.
8
+
9
+ # flags.target-org.summary
10
+
11
+ Login username or alias for the target org
12
+
13
+ # flags.target-org.description
14
+
15
+ The target org to connect to for creating the template.
16
+
17
+ # flags.api-version.summary
18
+
19
+ Override the api version used for api requests
20
+
21
+ # flags.api-version.description
22
+
23
+ Override the api version used for api requests to the app framework.
24
+
25
+ # flags.name.summary
26
+
27
+ Name for the new template (required)
28
+
29
+ # flags.name.description
30
+
31
+ A unique identifier for the template. Must be unique within your org.
32
+
33
+ # flags.type.summary
34
+
35
+ Type of template to create
36
+
37
+ # flags.type.description
38
+
39
+ Specifies the type of template to create. Valid options are: app, component, dashboard, or lens. Defaults to 'app' if not specified.
40
+
41
+ # flags.subtype.summary
42
+
43
+ Subtype for the template
44
+
45
+ # flags.subtype.description
46
+
47
+ An optional subtype categorization for the template (e.g., 'tableau' for app templates).
48
+
49
+ # flags.label.summary
50
+
51
+ Label for the new template
52
+
53
+ # flags.label.description
54
+
55
+ A human-readable label for the template. This is displayed in the Analytics Studio UI.
56
+
57
+ # flags.description.summary
58
+
59
+ Description of the new template
60
+
61
+ # flags.description.description
62
+
63
+ A description of what the template does. This is displayed in the Analytics Studio UI.
64
+
65
+ # fetchingApp
66
+
67
+ Fetching app information...
68
+
69
+ # creatingTemplate
70
+
71
+ Creating template from app...
72
+
73
+ # createSuccess
74
+
75
+ Successfully created template with ID: %s
76
+
77
+ # examples
78
+
79
+ - <%= config.bin %> <%= command.id %> --target-org myOrg --name "my_template"
80
+ - <%= config.bin %> <%= command.id %> --target-org myOrg --name "sales_template" --type app --label "My Custom Template"
81
+ - <%= config.bin %> <%= command.id %> --target-org myOrg --name "dashboard_template" --type dashboard --subtype "analytics"
82
+ - <%= config.bin %> <%= command.id %> --target-org myOrg --name "analytics_template" --type app --subtype "tableau" --label "Sales Template" --description "Template for sales analytics apps"