@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.
- package/LICENSE +28 -0
- package/LICENSE.txt +12 -0
- package/README.md +145 -0
- package/lib/commands/orchestrator/create/app.d.ts +19 -0
- package/lib/commands/orchestrator/create/app.js +144 -0
- package/lib/commands/orchestrator/create/app.js.map +1 -0
- package/lib/commands/orchestrator/create/template.d.ts +17 -0
- package/lib/commands/orchestrator/create/template.js +96 -0
- package/lib/commands/orchestrator/create/template.js.map +1 -0
- package/lib/commands/orchestrator/decouple/app.d.ts +14 -0
- package/lib/commands/orchestrator/decouple/app.js +106 -0
- package/lib/commands/orchestrator/decouple/app.js.map +1 -0
- package/lib/commands/orchestrator/delete/app.d.ts +15 -0
- package/lib/commands/orchestrator/delete/app.js +102 -0
- package/lib/commands/orchestrator/delete/app.js.map +1 -0
- package/lib/commands/orchestrator/delete/template.d.ts +15 -0
- package/lib/commands/orchestrator/delete/template.js +108 -0
- package/lib/commands/orchestrator/delete/template.js.map +1 -0
- package/lib/commands/orchestrator/display/app.d.ts +15 -0
- package/lib/commands/orchestrator/display/app.js +85 -0
- package/lib/commands/orchestrator/display/app.js.map +1 -0
- package/lib/commands/orchestrator/display/template.d.ts +15 -0
- package/lib/commands/orchestrator/display/template.js +105 -0
- package/lib/commands/orchestrator/display/template.js.map +1 -0
- package/lib/commands/orchestrator/list/app.d.ts +13 -0
- package/lib/commands/orchestrator/list/app.js +62 -0
- package/lib/commands/orchestrator/list/app.js.map +1 -0
- package/lib/commands/orchestrator/list/template.d.ts +14 -0
- package/lib/commands/orchestrator/list/template.js +64 -0
- package/lib/commands/orchestrator/list/template.js.map +1 -0
- package/lib/commands/orchestrator/template/create.d.ts +17 -0
- package/lib/commands/orchestrator/template/create.js +96 -0
- package/lib/commands/orchestrator/template/create.js.map +1 -0
- package/lib/commands/orchestrator/template/delete.d.ts +15 -0
- package/lib/commands/orchestrator/template/delete.js +108 -0
- package/lib/commands/orchestrator/template/delete.js.map +1 -0
- package/lib/commands/orchestrator/template/display.d.ts +15 -0
- package/lib/commands/orchestrator/template/display.js +105 -0
- package/lib/commands/orchestrator/template/display.js.map +1 -0
- package/lib/commands/orchestrator/template/list.d.ts +13 -0
- package/lib/commands/orchestrator/template/list.js +62 -0
- package/lib/commands/orchestrator/template/list.js.map +1 -0
- package/lib/commands/orchestrator/template/update.d.ts +17 -0
- package/lib/commands/orchestrator/template/update.js +107 -0
- package/lib/commands/orchestrator/template/update.js.map +1 -0
- package/lib/commands/orchestrator/update/app.d.ts +20 -0
- package/lib/commands/orchestrator/update/app.js +145 -0
- package/lib/commands/orchestrator/update/app.js.map +1 -0
- package/lib/commands/orchestrator/update/template.d.ts +17 -0
- package/lib/commands/orchestrator/update/template.js +107 -0
- package/lib/commands/orchestrator/update/template.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +8 -0
- package/lib/index.js.map +1 -0
- package/lib/utils/app/appDisplayUtil.d.ts +26 -0
- package/lib/utils/app/appDisplayUtil.js +153 -0
- package/lib/utils/app/appDisplayUtil.js.map +1 -0
- package/lib/utils/app/appListUtils.d.ts +34 -0
- package/lib/utils/app/appListUtils.js +81 -0
- package/lib/utils/app/appListUtils.js.map +1 -0
- package/lib/utils/app/appTypes.d.ts +44 -0
- package/lib/utils/app/appTypes.js +8 -0
- package/lib/utils/app/appTypes.js.map +1 -0
- package/lib/utils/app/appframeworkapp.d.ts +64 -0
- package/lib/utils/app/appframeworkapp.js +175 -0
- package/lib/utils/app/appframeworkapp.js.map +1 -0
- package/lib/utils/display/displayUtil.d.ts +27 -0
- package/lib/utils/display/displayUtil.js +80 -0
- package/lib/utils/display/displayUtil.js.map +1 -0
- package/lib/utils/request.d.ts +15 -0
- package/lib/utils/request.js +18 -0
- package/lib/utils/request.js.map +1 -0
- package/lib/utils/template/appframeworktemplate.d.ts +67 -0
- package/lib/utils/template/appframeworktemplate.js +114 -0
- package/lib/utils/template/appframeworktemplate.js.map +1 -0
- package/lib/utils/template/templateDisplayUtil.d.ts +42 -0
- package/lib/utils/template/templateDisplayUtil.js +142 -0
- package/lib/utils/template/templateDisplayUtil.js.map +1 -0
- package/lib/utils/template/templateHighlighter.d.ts +23 -0
- package/lib/utils/template/templateHighlighter.js +68 -0
- package/lib/utils/template/templateHighlighter.js.map +1 -0
- package/lib/utils/template/templateListUtils.d.ts +40 -0
- package/lib/utils/template/templateListUtils.js +126 -0
- package/lib/utils/template/templateListUtils.js.map +1 -0
- package/lib/utils/template/templateTypes.d.ts +114 -0
- package/lib/utils/template/templateTypes.js +15 -0
- package/lib/utils/template/templateTypes.js.map +1 -0
- package/lib/utils/utils.d.ts +21 -0
- package/lib/utils/utils.js +49 -0
- package/lib/utils/utils.js.map +1 -0
- package/messages/appframework.create.app.md +124 -0
- package/messages/appframework.create.template.md +82 -0
- package/messages/appframework.decouple.app.md +82 -0
- package/messages/appframework.delete.app.md +94 -0
- package/messages/appframework.delete.template.md +162 -0
- package/messages/appframework.display.app.md +70 -0
- package/messages/appframework.display.template.md +101 -0
- package/messages/appframework.list.app.md +126 -0
- package/messages/appframework.list.template.md +78 -0
- package/messages/appframework.template.create.md +82 -0
- package/messages/appframework.template.delete.md +162 -0
- package/messages/appframework.template.display.md +101 -0
- package/messages/appframework.template.list.md +78 -0
- package/messages/appframework.template.update.md +78 -0
- package/messages/appframework.update.app.md +142 -0
- package/messages/appframework.update.template.md +78 -0
- package/npm-shrinkwrap.json +14309 -0
- package/oclif.lock +7751 -0
- package/oclif.manifest.json +1731 -0
- 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 template list' 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,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,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,78 @@
|
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Update an existing AppFramework template.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Updates an existing template. This allows you to refresh a template after making changes to its source 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
|
+
The target org to connect to for updating 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 update
|
|
28
|
+
|
|
29
|
+
# flags.template-id.description
|
|
30
|
+
|
|
31
|
+
The unique identifier of the template to update.
|
|
32
|
+
|
|
33
|
+
# flags.template-name.summary
|
|
34
|
+
|
|
35
|
+
Name of the template to update
|
|
36
|
+
|
|
37
|
+
# flags.template-name.description
|
|
38
|
+
|
|
39
|
+
The name of the template to update. Use this if you don't know the template ID.
|
|
40
|
+
|
|
41
|
+
# flags.label.summary
|
|
42
|
+
|
|
43
|
+
New label for the template
|
|
44
|
+
|
|
45
|
+
# flags.label.description
|
|
46
|
+
|
|
47
|
+
A new display label for the template. This is the name that will be shown to users in the UI. Note that this only changes the display label, not the template's unique name which cannot be changed after creation.
|
|
48
|
+
|
|
49
|
+
# flags.description.summary
|
|
50
|
+
|
|
51
|
+
New description for the template
|
|
52
|
+
|
|
53
|
+
# flags.description.description
|
|
54
|
+
|
|
55
|
+
A new description for the template. This provides additional information about the template's purpose and contents.
|
|
56
|
+
|
|
57
|
+
# fetchingTemplate
|
|
58
|
+
|
|
59
|
+
Fetching template information...
|
|
60
|
+
|
|
61
|
+
# updatingTemplate
|
|
62
|
+
|
|
63
|
+
Updating template...
|
|
64
|
+
|
|
65
|
+
# updateSuccess
|
|
66
|
+
|
|
67
|
+
Successfully updated template '%s' (ID: %s)
|
|
68
|
+
|
|
69
|
+
# missingRequiredField
|
|
70
|
+
|
|
71
|
+
You must provide either template-id or template-name.
|
|
72
|
+
|
|
73
|
+
# examples
|
|
74
|
+
|
|
75
|
+
- <%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ
|
|
76
|
+
- <%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --label "New Display Label"
|
|
77
|
+
- <%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --description "Updated template description"
|
|
78
|
+
- <%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --label "New Label" --description "New description" --asset-version 3
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Update an AppFramework app with a new template.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Updates an existing AppFramework app with a new template. You must specify either the app-id or app-name flag to identify the app to update, and either the template-id or template-name flag to identify the template to use for the update.
|
|
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 update.
|
|
28
|
+
|
|
29
|
+
# flags.app-id.description
|
|
30
|
+
|
|
31
|
+
Specify the ID of the app to update. Either this or app-name is required.
|
|
32
|
+
|
|
33
|
+
# flags.app-name.summary
|
|
34
|
+
|
|
35
|
+
Name of the app to update.
|
|
36
|
+
|
|
37
|
+
# flags.app-name.description
|
|
38
|
+
|
|
39
|
+
Specify the name of the app to update. Either this or app-id is required.
|
|
40
|
+
|
|
41
|
+
# flags.template-id.summary
|
|
42
|
+
|
|
43
|
+
ID of the template to use for the update.
|
|
44
|
+
|
|
45
|
+
# flags.template-id.description
|
|
46
|
+
|
|
47
|
+
Specify the ID of the template to use for the update. Either this or template-name is required.
|
|
48
|
+
|
|
49
|
+
# flags.template-name.summary
|
|
50
|
+
|
|
51
|
+
Name of the template to use for the update.
|
|
52
|
+
|
|
53
|
+
# flags.template-name.description
|
|
54
|
+
|
|
55
|
+
Specify the name of the template to use for the update. Either this or template-id is required.
|
|
56
|
+
|
|
57
|
+
# flags.label.summary
|
|
58
|
+
|
|
59
|
+
New label for the app.
|
|
60
|
+
|
|
61
|
+
# flags.label.description
|
|
62
|
+
|
|
63
|
+
Optionally specify a new label for the app.
|
|
64
|
+
|
|
65
|
+
# flags.description.summary
|
|
66
|
+
|
|
67
|
+
New description for the app.
|
|
68
|
+
|
|
69
|
+
# flags.description.description
|
|
70
|
+
|
|
71
|
+
Optionally specify a new description for the app.
|
|
72
|
+
|
|
73
|
+
# flags.runtime-method.summary
|
|
74
|
+
|
|
75
|
+
Runtime method for the app.
|
|
76
|
+
|
|
77
|
+
# flags.runtime-method.description
|
|
78
|
+
|
|
79
|
+
Optionally specify a runtime method (sync or async) for the app.
|
|
80
|
+
|
|
81
|
+
# flags.log-level.summary
|
|
82
|
+
|
|
83
|
+
Log level for the app.
|
|
84
|
+
|
|
85
|
+
# flags.log-level.description
|
|
86
|
+
|
|
87
|
+
Optionally specify a log level (debug, info, warn, error) for the app.
|
|
88
|
+
|
|
89
|
+
# noAppSpecified
|
|
90
|
+
|
|
91
|
+
No app specified for update. You must specify either an app ID with --app-id or an app name with --app-name.
|
|
92
|
+
|
|
93
|
+
# noTemplateSpecified
|
|
94
|
+
|
|
95
|
+
No template specified for update. You must specify either a template ID with --template-id or a template name with --template-name.
|
|
96
|
+
|
|
97
|
+
# fetchingApp
|
|
98
|
+
|
|
99
|
+
Fetching app details...
|
|
100
|
+
|
|
101
|
+
# fetchingTemplate
|
|
102
|
+
|
|
103
|
+
Fetching template details...
|
|
104
|
+
|
|
105
|
+
# updatingApp
|
|
106
|
+
|
|
107
|
+
Updating app...
|
|
108
|
+
|
|
109
|
+
# noAppFound
|
|
110
|
+
|
|
111
|
+
No app found with the specified ID or name.
|
|
112
|
+
|
|
113
|
+
# noTemplateFound
|
|
114
|
+
|
|
115
|
+
No template found with the specified ID or name.
|
|
116
|
+
|
|
117
|
+
# updateSuccess
|
|
118
|
+
|
|
119
|
+
Successfully updated app: %s
|
|
120
|
+
|
|
121
|
+
# error.UpdateError
|
|
122
|
+
|
|
123
|
+
Failed to update app: %s
|
|
124
|
+
|
|
125
|
+
# error.UpdateError.Actions
|
|
126
|
+
|
|
127
|
+
- Check that the app ID or name is correct
|
|
128
|
+
- Check that the template ID or name is correct
|
|
129
|
+
- Verify you have permissions to update apps in this org
|
|
130
|
+
- Ensure your authentication to the org is valid
|
|
131
|
+
- Try running with --debug for more details
|
|
132
|
+
|
|
133
|
+
# examples
|
|
134
|
+
|
|
135
|
+
- Update an app by ID with a template ID:
|
|
136
|
+
<%= config.bin %> <%= command.id %> --app-id 00Dxx0000000001 --template-id 00Dxx0000000002
|
|
137
|
+
|
|
138
|
+
- Update an app by name with a template name:
|
|
139
|
+
<%= config.bin %> <%= command.id %> --app-name "My App" --template-name "My Template"
|
|
140
|
+
|
|
141
|
+
- Update an app with a new label and description:
|
|
142
|
+
<%= config.bin %> <%= command.id %> --app-id 00Dxx0000000001 --template-id 00Dxx0000000002 --label "New Label" --description "New description"
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Update an existing AppFramework template.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Updates an existing template. This allows you to refresh a template after making changes to its source 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
|
+
The target org to connect to for updating 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 update
|
|
28
|
+
|
|
29
|
+
# flags.template-id.description
|
|
30
|
+
|
|
31
|
+
The unique identifier of the template to update.
|
|
32
|
+
|
|
33
|
+
# flags.template-name.summary
|
|
34
|
+
|
|
35
|
+
Name of the template to update
|
|
36
|
+
|
|
37
|
+
# flags.template-name.description
|
|
38
|
+
|
|
39
|
+
The name of the template to update. Use this if you don't know the template ID.
|
|
40
|
+
|
|
41
|
+
# flags.label.summary
|
|
42
|
+
|
|
43
|
+
New label for the template
|
|
44
|
+
|
|
45
|
+
# flags.label.description
|
|
46
|
+
|
|
47
|
+
A new display label for the template. This is the name that will be shown to users in the UI. Note that this only changes the display label, not the template's unique name which cannot be changed after creation.
|
|
48
|
+
|
|
49
|
+
# flags.description.summary
|
|
50
|
+
|
|
51
|
+
New description for the template
|
|
52
|
+
|
|
53
|
+
# flags.description.description
|
|
54
|
+
|
|
55
|
+
A new description for the template. This provides additional information about the template's purpose and contents.
|
|
56
|
+
|
|
57
|
+
# fetchingTemplate
|
|
58
|
+
|
|
59
|
+
Fetching template information...
|
|
60
|
+
|
|
61
|
+
# updatingTemplate
|
|
62
|
+
|
|
63
|
+
Updating template...
|
|
64
|
+
|
|
65
|
+
# updateSuccess
|
|
66
|
+
|
|
67
|
+
Successfully updated template '%s' (ID: %s)
|
|
68
|
+
|
|
69
|
+
# missingRequiredField
|
|
70
|
+
|
|
71
|
+
You must provide either template-id or template-name.
|
|
72
|
+
|
|
73
|
+
# examples
|
|
74
|
+
|
|
75
|
+
- <%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ
|
|
76
|
+
- <%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --label "New Display Label"
|
|
77
|
+
- <%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --description "Updated template description"
|
|
78
|
+
- <%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --label "New Label" --description "New description" --asset-version 3
|