@sfship/plugin-ship 1.0.0-beta.2
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.txt +206 -0
- package/README.md +164 -0
- package/lib/commands/ship/flow/eject.d.ts +15 -0
- package/lib/commands/ship/flow/eject.js +55 -0
- package/lib/commands/ship/flow/eject.js.map +1 -0
- package/lib/commands/ship/flow/info.d.ts +15 -0
- package/lib/commands/ship/flow/info.js +86 -0
- package/lib/commands/ship/flow/info.js.map +1 -0
- package/lib/commands/ship/flow/list.d.ts +12 -0
- package/lib/commands/ship/flow/list.js +51 -0
- package/lib/commands/ship/flow/list.js.map +1 -0
- package/lib/commands/ship/flow/run.d.ts +16 -0
- package/lib/commands/ship/flow/run.js +90 -0
- package/lib/commands/ship/flow/run.js.map +1 -0
- package/lib/commands/ship/project/init.d.ts +13 -0
- package/lib/commands/ship/project/init.js +81 -0
- package/lib/commands/ship/project/init.js.map +1 -0
- package/lib/commands/ship/service/connect/github.d.ts +12 -0
- package/lib/commands/ship/service/connect/github.js +47 -0
- package/lib/commands/ship/service/connect/github.js.map +1 -0
- package/lib/commands/ship/service/delete.d.ts +13 -0
- package/lib/commands/ship/service/delete.js +44 -0
- package/lib/commands/ship/service/delete.js.map +1 -0
- package/lib/commands/ship/service/info.d.ts +13 -0
- package/lib/commands/ship/service/info.js +51 -0
- package/lib/commands/ship/service/info.js.map +1 -0
- package/lib/commands/ship/service/list.d.ts +9 -0
- package/lib/commands/ship/service/list.js +55 -0
- package/lib/commands/ship/service/list.js.map +1 -0
- package/lib/commands/ship/task/info.d.ts +15 -0
- package/lib/commands/ship/task/info.js +75 -0
- package/lib/commands/ship/task/info.js.map +1 -0
- package/lib/commands/ship/task/list.d.ts +12 -0
- package/lib/commands/ship/task/list.js +45 -0
- package/lib/commands/ship/task/list.js.map +1 -0
- package/lib/commands/ship/task/run.d.ts +16 -0
- package/lib/commands/ship/task/run.js +72 -0
- package/lib/commands/ship/task/run.js.map +1 -0
- package/lib/core/config.dependency.schema.d.ts +24 -0
- package/lib/core/config.dependency.schema.js +34 -0
- package/lib/core/config.dependency.schema.js.map +1 -0
- package/lib/core/config.loader.d.ts +23 -0
- package/lib/core/config.loader.js +62 -0
- package/lib/core/config.loader.js.map +1 -0
- package/lib/core/config.ship.schema.d.ts +174 -0
- package/lib/core/config.ship.schema.js +67 -0
- package/lib/core/config.ship.schema.js.map +1 -0
- package/lib/core/error.d.ts +29 -0
- package/lib/core/error.js +59 -0
- package/lib/core/error.js.map +1 -0
- package/lib/core/file.d.ts +34 -0
- package/lib/core/file.js +123 -0
- package/lib/core/file.js.map +1 -0
- package/lib/core/flow.context.d.ts +22 -0
- package/lib/core/flow.context.js +4 -0
- package/lib/core/flow.context.js.map +1 -0
- package/lib/core/flow.definition.schema.d.ts +60 -0
- package/lib/core/flow.definition.schema.js +56 -0
- package/lib/core/flow.definition.schema.js.map +1 -0
- package/lib/core/flow.interpolate.d.ts +21 -0
- package/lib/core/flow.interpolate.js +64 -0
- package/lib/core/flow.interpolate.js.map +1 -0
- package/lib/core/flow.registry.d.ts +32 -0
- package/lib/core/flow.registry.js +99 -0
- package/lib/core/flow.registry.js.map +1 -0
- package/lib/core/flow.renderer.d.ts +51 -0
- package/lib/core/flow.renderer.js +137 -0
- package/lib/core/flow.renderer.js.map +1 -0
- package/lib/core/flow.runner.d.ts +13 -0
- package/lib/core/flow.runner.js +133 -0
- package/lib/core/flow.runner.js.map +1 -0
- package/lib/core/flow.store.d.ts +24 -0
- package/lib/core/flow.store.js +57 -0
- package/lib/core/flow.store.js.map +1 -0
- package/lib/core/flow.view.d.ts +20 -0
- package/lib/core/flow.view.js +77 -0
- package/lib/core/flow.view.js.map +1 -0
- package/lib/core/flows/create/package.yml +18 -0
- package/lib/core/flows/dependencies/lock.yml +4 -0
- package/lib/core/flows/deploy/beta.yml +38 -0
- package/lib/core/flows/deploy/dev.yml +26 -0
- package/lib/core/flows/deploy/feature.yml +56 -0
- package/lib/core/flows/deploy/qa.yml +51 -0
- package/lib/core/flows/deploy/regression.yml +60 -0
- package/lib/core/flows/deploy/release.yml +38 -0
- package/lib/core/flows/release/beta.yml +25 -0
- package/lib/core/flows/release/production.yml +16 -0
- package/lib/core/org.registry.d.ts +45 -0
- package/lib/core/org.registry.js +76 -0
- package/lib/core/org.registry.js.map +1 -0
- package/lib/core/org.scratch.schema.d.ts +44 -0
- package/lib/core/org.scratch.schema.js +62 -0
- package/lib/core/org.scratch.schema.js.map +1 -0
- package/lib/core/package.dependencies.d.ts +45 -0
- package/lib/core/package.dependencies.js +158 -0
- package/lib/core/package.dependencies.js.map +1 -0
- package/lib/core/package.installer.d.ts +13 -0
- package/lib/core/package.installer.js +60 -0
- package/lib/core/package.installer.js.map +1 -0
- package/lib/core/package.metadata.d.ts +6 -0
- package/lib/core/package.metadata.js +33 -0
- package/lib/core/package.metadata.js.map +1 -0
- package/lib/core/package.namespace.d.ts +10 -0
- package/lib/core/package.namespace.js +40 -0
- package/lib/core/package.namespace.js.map +1 -0
- package/lib/core/package.version.d.ts +42 -0
- package/lib/core/package.version.js +60 -0
- package/lib/core/package.version.js.map +1 -0
- package/lib/core/project.init.d.ts +11 -0
- package/lib/core/project.init.js +121 -0
- package/lib/core/project.init.js.map +1 -0
- package/lib/core/service.d.ts +45 -0
- package/lib/core/service.github.d.ts +98 -0
- package/lib/core/service.github.js +270 -0
- package/lib/core/service.github.js.map +1 -0
- package/lib/core/service.js +91 -0
- package/lib/core/service.js.map +1 -0
- package/lib/core/sfdx-project.d.ts +25 -0
- package/lib/core/sfdx-project.js +39 -0
- package/lib/core/sfdx-project.js.map +1 -0
- package/lib/core/stdout.d.ts +1 -0
- package/lib/core/stdout.js +27 -0
- package/lib/core/stdout.js.map +1 -0
- package/lib/core/task.definition.schema.d.ts +69 -0
- package/lib/core/task.definition.schema.js +33 -0
- package/lib/core/task.definition.schema.js.map +1 -0
- package/lib/core/task.output.d.ts +29 -0
- package/lib/core/task.output.js +39 -0
- package/lib/core/task.output.js.map +1 -0
- package/lib/core/task.param.d.ts +30 -0
- package/lib/core/task.param.js +141 -0
- package/lib/core/task.param.js.map +1 -0
- package/lib/core/task.param.schema.d.ts +22 -0
- package/lib/core/task.param.schema.js +26 -0
- package/lib/core/task.param.schema.js.map +1 -0
- package/lib/core/task.registry.d.ts +22 -0
- package/lib/core/task.registry.js +85 -0
- package/lib/core/task.registry.js.map +1 -0
- package/lib/core/task.view.d.ts +10 -0
- package/lib/core/task.view.js +25 -0
- package/lib/core/task.view.js.map +1 -0
- package/lib/core/tasks/apex/run/test.d.ts +25 -0
- package/lib/core/tasks/apex/run/test.js +85 -0
- package/lib/core/tasks/apex/run/test.js.map +1 -0
- package/lib/core/tasks/data/import/tree.d.ts +12 -0
- package/lib/core/tasks/data/import/tree.js +61 -0
- package/lib/core/tasks/data/import/tree.js.map +1 -0
- package/lib/core/tasks/git/release/create.d.ts +42 -0
- package/lib/core/tasks/git/release/create.js +197 -0
- package/lib/core/tasks/git/release/create.js.map +1 -0
- package/lib/core/tasks/git/release/fetch.d.ts +24 -0
- package/lib/core/tasks/git/release/fetch.js +93 -0
- package/lib/core/tasks/git/release/fetch.js.map +1 -0
- package/lib/core/tasks/git/repo/info.d.ts +12 -0
- package/lib/core/tasks/git/repo/info.js +47 -0
- package/lib/core/tasks/git/repo/info.js.map +1 -0
- package/lib/core/tasks/metadata/deploy.d.ts +12 -0
- package/lib/core/tasks/metadata/deploy.js +39 -0
- package/lib/core/tasks/metadata/deploy.js.map +1 -0
- package/lib/core/tasks/org/assign/permsets.d.ts +12 -0
- package/lib/core/tasks/org/assign/permsets.js +54 -0
- package/lib/core/tasks/org/assign/permsets.js.map +1 -0
- package/lib/core/tasks/org/create/scratch.d.ts +36 -0
- package/lib/core/tasks/org/create/scratch.js +127 -0
- package/lib/core/tasks/org/create/scratch.js.map +1 -0
- package/lib/core/tasks/org/delete/scratch.d.ts +12 -0
- package/lib/core/tasks/org/delete/scratch.js +10 -0
- package/lib/core/tasks/org/delete/scratch.js.map +1 -0
- package/lib/core/tasks/package/create.d.ts +36 -0
- package/lib/core/tasks/package/create.js +93 -0
- package/lib/core/tasks/package/create.js.map +1 -0
- package/lib/core/tasks/package/dependencies/lock.d.ts +6 -0
- package/lib/core/tasks/package/dependencies/lock.js +35 -0
- package/lib/core/tasks/package/dependencies/lock.js.map +1 -0
- package/lib/core/tasks/package/dependencies/verify.d.ts +6 -0
- package/lib/core/tasks/package/dependencies/verify.js +44 -0
- package/lib/core/tasks/package/dependencies/verify.js.map +1 -0
- package/lib/core/tasks/package/install/dependencies.d.ts +22 -0
- package/lib/core/tasks/package/install/dependencies.js +43 -0
- package/lib/core/tasks/package/install/dependencies.js.map +1 -0
- package/lib/core/tasks/package/install/index.d.ts +25 -0
- package/lib/core/tasks/package/install/index.js +37 -0
- package/lib/core/tasks/package/install/index.js.map +1 -0
- package/lib/core/tasks/package/version/create.d.ts +36 -0
- package/lib/core/tasks/package/version/create.js +133 -0
- package/lib/core/tasks/package/version/create.js.map +1 -0
- package/lib/core/tasks/package/version/promote.d.ts +30 -0
- package/lib/core/tasks/package/version/promote.js +79 -0
- package/lib/core/tasks/package/version/promote.js.map +1 -0
- package/lib/core/tasks/package/version/resolve-latest.d.ts +24 -0
- package/lib/core/tasks/package/version/resolve-latest.js +78 -0
- package/lib/core/tasks/package/version/resolve-latest.js.map +1 -0
- package/lib/core/tasks/package/version/resolve-next.d.ts +24 -0
- package/lib/core/tasks/package/version/resolve-next.js +49 -0
- package/lib/core/tasks/package/version/resolve-next.js.map +1 -0
- package/lib/core/tasks/project/deploy/start.d.ts +22 -0
- package/lib/core/tasks/project/deploy/start.js +117 -0
- package/lib/core/tasks/project/deploy/start.js.map +1 -0
- package/lib/core/tasks/project/reset/tracking.d.ts +25 -0
- package/lib/core/tasks/project/reset/tracking.js +32 -0
- package/lib/core/tasks/project/reset/tracking.js.map +1 -0
- package/lib/core/tasks/util/file/exists.d.ts +24 -0
- package/lib/core/tasks/util/file/exists.js +53 -0
- package/lib/core/tasks/util/file/exists.js.map +1 -0
- package/lib/core/tasks/util/file/find.d.ts +30 -0
- package/lib/core/tasks/util/file/find.js +70 -0
- package/lib/core/tasks/util/file/find.js.map +1 -0
- package/lib/core/tasks/util/log.d.ts +13 -0
- package/lib/core/tasks/util/log.js +10 -0
- package/lib/core/tasks/util/log.js.map +1 -0
- package/lib/core/templates/README.md +35 -0
- package/lib/core/tree.d.ts +7 -0
- package/lib/core/tree.js +42 -0
- package/lib/core/tree.js.map +1 -0
- package/messages/service.connect.github.md +16 -0
- package/messages/ship.flow.eject.md +21 -0
- package/messages/ship.flow.info.md +21 -0
- package/messages/ship.flow.list.md +15 -0
- package/messages/ship.flow.run.md +23 -0
- package/messages/ship.project.init.md +23 -0
- package/messages/ship.service.delete.md +19 -0
- package/messages/ship.service.info.md +19 -0
- package/messages/ship.service.list.md +11 -0
- package/messages/ship.task.info.md +25 -0
- package/messages/ship.task.list.md +15 -0
- package/messages/ship.task.run.md +29 -0
- package/oclif.lock +10313 -0
- package/oclif.manifest.json +707 -0
- package/package.json +254 -0
|
@@ -0,0 +1,707 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commands": {
|
|
3
|
+
"ship:project:init": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Runs sf project generate to scaffold a standard Salesforce project, then patches sfdx-project.json with 2GP settings and writes ship.yml and .ship/orgs scratch org definitions. Existing files are left untouched.",
|
|
7
|
+
"examples": [
|
|
8
|
+
"<%= config.bin %> <%= command.id %>"
|
|
9
|
+
],
|
|
10
|
+
"flags": {
|
|
11
|
+
"flags-dir": {
|
|
12
|
+
"helpGroup": "GLOBAL",
|
|
13
|
+
"name": "flags-dir",
|
|
14
|
+
"summary": "Import flag values from a directory.",
|
|
15
|
+
"hasDynamicHelp": false,
|
|
16
|
+
"multiple": false,
|
|
17
|
+
"type": "option"
|
|
18
|
+
},
|
|
19
|
+
"template": {
|
|
20
|
+
"name": "template",
|
|
21
|
+
"summary": "Template to use for project generation.",
|
|
22
|
+
"default": "standard",
|
|
23
|
+
"hasDynamicHelp": false,
|
|
24
|
+
"multiple": false,
|
|
25
|
+
"type": "option"
|
|
26
|
+
},
|
|
27
|
+
"api-version": {
|
|
28
|
+
"name": "api-version",
|
|
29
|
+
"summary": "Override the API version used for API requests made by this command.",
|
|
30
|
+
"hasDynamicHelp": false,
|
|
31
|
+
"multiple": false,
|
|
32
|
+
"type": "option"
|
|
33
|
+
},
|
|
34
|
+
"lwc-language": {
|
|
35
|
+
"name": "lwc-language",
|
|
36
|
+
"summary": "Default language to use for LWC components (javascript or typescript).",
|
|
37
|
+
"hasDynamicHelp": false,
|
|
38
|
+
"multiple": false,
|
|
39
|
+
"type": "option"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"hasDynamicHelp": false,
|
|
43
|
+
"hiddenAliases": [],
|
|
44
|
+
"id": "ship:project:init",
|
|
45
|
+
"pluginAlias": "@sfship/plugin-ship",
|
|
46
|
+
"pluginName": "@sfship/plugin-ship",
|
|
47
|
+
"pluginType": "core",
|
|
48
|
+
"strict": true,
|
|
49
|
+
"summary": "Initialize a new plugin-ship project in the current directory.",
|
|
50
|
+
"enableJsonFlag": false,
|
|
51
|
+
"isESM": true,
|
|
52
|
+
"relativePath": [
|
|
53
|
+
"lib",
|
|
54
|
+
"commands",
|
|
55
|
+
"ship",
|
|
56
|
+
"project",
|
|
57
|
+
"init.js"
|
|
58
|
+
],
|
|
59
|
+
"aliasPermutations": [],
|
|
60
|
+
"permutations": [
|
|
61
|
+
"ship:project:init",
|
|
62
|
+
"project:ship:init",
|
|
63
|
+
"project:init:ship",
|
|
64
|
+
"ship:init:project",
|
|
65
|
+
"init:ship:project",
|
|
66
|
+
"init:project:ship"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"ship:service:delete": {
|
|
70
|
+
"aliases": [],
|
|
71
|
+
"args": {
|
|
72
|
+
"service": {
|
|
73
|
+
"description": "The service name (e.g. github.com).",
|
|
74
|
+
"name": "service",
|
|
75
|
+
"required": true
|
|
76
|
+
},
|
|
77
|
+
"alias": {
|
|
78
|
+
"default": "default",
|
|
79
|
+
"description": "The account alias (e.g. default).",
|
|
80
|
+
"name": "alias"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"description": "Deletes the credential from the OS keychain and removes the associated metadata file.",
|
|
84
|
+
"examples": [
|
|
85
|
+
"<%= config.bin %> <%= command.id %> github.com default"
|
|
86
|
+
],
|
|
87
|
+
"flags": {
|
|
88
|
+
"flags-dir": {
|
|
89
|
+
"helpGroup": "GLOBAL",
|
|
90
|
+
"name": "flags-dir",
|
|
91
|
+
"summary": "Import flag values from a directory.",
|
|
92
|
+
"hasDynamicHelp": false,
|
|
93
|
+
"multiple": false,
|
|
94
|
+
"type": "option"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"hasDynamicHelp": false,
|
|
98
|
+
"hiddenAliases": [],
|
|
99
|
+
"id": "ship:service:delete",
|
|
100
|
+
"pluginAlias": "@sfship/plugin-ship",
|
|
101
|
+
"pluginName": "@sfship/plugin-ship",
|
|
102
|
+
"pluginType": "core",
|
|
103
|
+
"strict": true,
|
|
104
|
+
"summary": "Remove a stored service credential.",
|
|
105
|
+
"enableJsonFlag": false,
|
|
106
|
+
"isESM": true,
|
|
107
|
+
"relativePath": [
|
|
108
|
+
"lib",
|
|
109
|
+
"commands",
|
|
110
|
+
"ship",
|
|
111
|
+
"service",
|
|
112
|
+
"delete.js"
|
|
113
|
+
],
|
|
114
|
+
"aliasPermutations": [],
|
|
115
|
+
"permutations": [
|
|
116
|
+
"ship:service:delete",
|
|
117
|
+
"service:ship:delete",
|
|
118
|
+
"service:delete:ship",
|
|
119
|
+
"ship:delete:service",
|
|
120
|
+
"delete:ship:service",
|
|
121
|
+
"delete:service:ship"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
"ship:service:info": {
|
|
125
|
+
"aliases": [],
|
|
126
|
+
"args": {
|
|
127
|
+
"service": {
|
|
128
|
+
"description": "The service name (e.g. github).",
|
|
129
|
+
"name": "service",
|
|
130
|
+
"required": true
|
|
131
|
+
},
|
|
132
|
+
"alias": {
|
|
133
|
+
"default": "default",
|
|
134
|
+
"description": "The account alias (e.g. default).",
|
|
135
|
+
"name": "alias"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"description": "Prints the metadata for a stored service credential identified by service name and alias.",
|
|
139
|
+
"examples": [
|
|
140
|
+
"<%= config.bin %> <%= command.id %> github.com default"
|
|
141
|
+
],
|
|
142
|
+
"flags": {
|
|
143
|
+
"flags-dir": {
|
|
144
|
+
"helpGroup": "GLOBAL",
|
|
145
|
+
"name": "flags-dir",
|
|
146
|
+
"summary": "Import flag values from a directory.",
|
|
147
|
+
"hasDynamicHelp": false,
|
|
148
|
+
"multiple": false,
|
|
149
|
+
"type": "option"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"hasDynamicHelp": false,
|
|
153
|
+
"hiddenAliases": [],
|
|
154
|
+
"id": "ship:service:info",
|
|
155
|
+
"pluginAlias": "@sfship/plugin-ship",
|
|
156
|
+
"pluginName": "@sfship/plugin-ship",
|
|
157
|
+
"pluginType": "core",
|
|
158
|
+
"strict": true,
|
|
159
|
+
"summary": "Show details for a stored service credential.",
|
|
160
|
+
"enableJsonFlag": false,
|
|
161
|
+
"isESM": true,
|
|
162
|
+
"relativePath": [
|
|
163
|
+
"lib",
|
|
164
|
+
"commands",
|
|
165
|
+
"ship",
|
|
166
|
+
"service",
|
|
167
|
+
"info.js"
|
|
168
|
+
],
|
|
169
|
+
"aliasPermutations": [],
|
|
170
|
+
"permutations": [
|
|
171
|
+
"ship:service:info",
|
|
172
|
+
"service:ship:info",
|
|
173
|
+
"service:info:ship",
|
|
174
|
+
"ship:info:service",
|
|
175
|
+
"info:ship:service",
|
|
176
|
+
"info:service:ship"
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
"ship:service:list": {
|
|
180
|
+
"aliases": [],
|
|
181
|
+
"args": {},
|
|
182
|
+
"description": "Shows all stored service credentials managed by plugin-ship.",
|
|
183
|
+
"examples": [
|
|
184
|
+
"<%= config.bin %> <%= command.id %>"
|
|
185
|
+
],
|
|
186
|
+
"flags": {
|
|
187
|
+
"flags-dir": {
|
|
188
|
+
"helpGroup": "GLOBAL",
|
|
189
|
+
"name": "flags-dir",
|
|
190
|
+
"summary": "Import flag values from a directory.",
|
|
191
|
+
"hasDynamicHelp": false,
|
|
192
|
+
"multiple": false,
|
|
193
|
+
"type": "option"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"hasDynamicHelp": false,
|
|
197
|
+
"hiddenAliases": [],
|
|
198
|
+
"id": "ship:service:list",
|
|
199
|
+
"pluginAlias": "@sfship/plugin-ship",
|
|
200
|
+
"pluginName": "@sfship/plugin-ship",
|
|
201
|
+
"pluginType": "core",
|
|
202
|
+
"strict": true,
|
|
203
|
+
"summary": "List all connected services.",
|
|
204
|
+
"enableJsonFlag": false,
|
|
205
|
+
"isESM": true,
|
|
206
|
+
"relativePath": [
|
|
207
|
+
"lib",
|
|
208
|
+
"commands",
|
|
209
|
+
"ship",
|
|
210
|
+
"service",
|
|
211
|
+
"list.js"
|
|
212
|
+
],
|
|
213
|
+
"aliasPermutations": [],
|
|
214
|
+
"permutations": [
|
|
215
|
+
"ship:service:list",
|
|
216
|
+
"service:ship:list",
|
|
217
|
+
"service:list:ship",
|
|
218
|
+
"ship:list:service",
|
|
219
|
+
"list:ship:service",
|
|
220
|
+
"list:service:ship"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
"ship:task:info": {
|
|
224
|
+
"aliases": [],
|
|
225
|
+
"args": {
|
|
226
|
+
"taskName": {
|
|
227
|
+
"description": "The name of the task to inspect.",
|
|
228
|
+
"name": "taskName",
|
|
229
|
+
"required": true
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"description": "Displays the description, accepted params, and store outputs for a built-in or custom task.",
|
|
233
|
+
"examples": [
|
|
234
|
+
"Show details for a built-in task:\n<%= config.bin %> <%= command.id %> org/create/scratch",
|
|
235
|
+
"Show details for a custom task:\n<%= config.bin %> <%= command.id %> my-custom-task"
|
|
236
|
+
],
|
|
237
|
+
"flags": {
|
|
238
|
+
"flags-dir": {
|
|
239
|
+
"helpGroup": "GLOBAL",
|
|
240
|
+
"name": "flags-dir",
|
|
241
|
+
"summary": "Import flag values from a directory.",
|
|
242
|
+
"hasDynamicHelp": false,
|
|
243
|
+
"multiple": false,
|
|
244
|
+
"type": "option"
|
|
245
|
+
},
|
|
246
|
+
"config": {
|
|
247
|
+
"name": "config",
|
|
248
|
+
"summary": "Path to the ship.yml config file.",
|
|
249
|
+
"default": "ship.yml",
|
|
250
|
+
"hasDynamicHelp": false,
|
|
251
|
+
"multiple": false,
|
|
252
|
+
"type": "option"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"hasDynamicHelp": false,
|
|
256
|
+
"hiddenAliases": [],
|
|
257
|
+
"id": "ship:task:info",
|
|
258
|
+
"pluginAlias": "@sfship/plugin-ship",
|
|
259
|
+
"pluginName": "@sfship/plugin-ship",
|
|
260
|
+
"pluginType": "core",
|
|
261
|
+
"strict": true,
|
|
262
|
+
"summary": "Show details for a task.",
|
|
263
|
+
"enableJsonFlag": false,
|
|
264
|
+
"isESM": true,
|
|
265
|
+
"relativePath": [
|
|
266
|
+
"lib",
|
|
267
|
+
"commands",
|
|
268
|
+
"ship",
|
|
269
|
+
"task",
|
|
270
|
+
"info.js"
|
|
271
|
+
],
|
|
272
|
+
"aliasPermutations": [],
|
|
273
|
+
"permutations": [
|
|
274
|
+
"ship:task:info",
|
|
275
|
+
"task:ship:info",
|
|
276
|
+
"task:info:ship",
|
|
277
|
+
"ship:info:task",
|
|
278
|
+
"info:ship:task",
|
|
279
|
+
"info:task:ship"
|
|
280
|
+
]
|
|
281
|
+
},
|
|
282
|
+
"ship:task:list": {
|
|
283
|
+
"aliases": [],
|
|
284
|
+
"args": {},
|
|
285
|
+
"description": "Prints built-in tasks and any custom tasks found in the `.ship/tasks/` directory.",
|
|
286
|
+
"examples": [
|
|
287
|
+
"<%= config.bin %> <%= command.id %>"
|
|
288
|
+
],
|
|
289
|
+
"flags": {
|
|
290
|
+
"flags-dir": {
|
|
291
|
+
"helpGroup": "GLOBAL",
|
|
292
|
+
"name": "flags-dir",
|
|
293
|
+
"summary": "Import flag values from a directory.",
|
|
294
|
+
"hasDynamicHelp": false,
|
|
295
|
+
"multiple": false,
|
|
296
|
+
"type": "option"
|
|
297
|
+
},
|
|
298
|
+
"config": {
|
|
299
|
+
"name": "config",
|
|
300
|
+
"summary": "Path to the ship.yml config file.",
|
|
301
|
+
"default": "ship.yml",
|
|
302
|
+
"hasDynamicHelp": false,
|
|
303
|
+
"multiple": false,
|
|
304
|
+
"type": "option"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"hasDynamicHelp": false,
|
|
308
|
+
"hiddenAliases": [],
|
|
309
|
+
"id": "ship:task:list",
|
|
310
|
+
"pluginAlias": "@sfship/plugin-ship",
|
|
311
|
+
"pluginName": "@sfship/plugin-ship",
|
|
312
|
+
"pluginType": "core",
|
|
313
|
+
"strict": true,
|
|
314
|
+
"summary": "List all available tasks.",
|
|
315
|
+
"enableJsonFlag": false,
|
|
316
|
+
"isESM": true,
|
|
317
|
+
"relativePath": [
|
|
318
|
+
"lib",
|
|
319
|
+
"commands",
|
|
320
|
+
"ship",
|
|
321
|
+
"task",
|
|
322
|
+
"list.js"
|
|
323
|
+
],
|
|
324
|
+
"aliasPermutations": [],
|
|
325
|
+
"permutations": [
|
|
326
|
+
"ship:task:list",
|
|
327
|
+
"task:ship:list",
|
|
328
|
+
"task:list:ship",
|
|
329
|
+
"ship:list:task",
|
|
330
|
+
"list:ship:task",
|
|
331
|
+
"list:task:ship"
|
|
332
|
+
]
|
|
333
|
+
},
|
|
334
|
+
"ship:task:run": {
|
|
335
|
+
"aliases": [],
|
|
336
|
+
"args": {
|
|
337
|
+
"taskName": {
|
|
338
|
+
"description": "The name of the task to run.",
|
|
339
|
+
"name": "taskName",
|
|
340
|
+
"required": true
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"description": "Runs a built-in or custom task directly, outside of a flow. Useful for testing and one-off operations.",
|
|
344
|
+
"examples": [
|
|
345
|
+
"Run the log task:\n<%= config.bin %> <%= command.id %> log --param message=hello",
|
|
346
|
+
"Run a custom task:\n<%= config.bin %> <%= command.id %> create-scratch-org --param scratch-def=dev"
|
|
347
|
+
],
|
|
348
|
+
"flags": {
|
|
349
|
+
"flags-dir": {
|
|
350
|
+
"helpGroup": "GLOBAL",
|
|
351
|
+
"name": "flags-dir",
|
|
352
|
+
"summary": "Import flag values from a directory.",
|
|
353
|
+
"hasDynamicHelp": false,
|
|
354
|
+
"multiple": false,
|
|
355
|
+
"type": "option"
|
|
356
|
+
},
|
|
357
|
+
"config": {
|
|
358
|
+
"name": "config",
|
|
359
|
+
"summary": "Path to the ship.yml config file.",
|
|
360
|
+
"default": "ship.yml",
|
|
361
|
+
"hasDynamicHelp": false,
|
|
362
|
+
"multiple": false,
|
|
363
|
+
"type": "option"
|
|
364
|
+
},
|
|
365
|
+
"param": {
|
|
366
|
+
"name": "param",
|
|
367
|
+
"summary": "Task parameter in key=value format.",
|
|
368
|
+
"hasDynamicHelp": false,
|
|
369
|
+
"multiple": true,
|
|
370
|
+
"type": "option"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"hasDynamicHelp": false,
|
|
374
|
+
"hiddenAliases": [],
|
|
375
|
+
"id": "ship:task:run",
|
|
376
|
+
"pluginAlias": "@sfship/plugin-ship",
|
|
377
|
+
"pluginName": "@sfship/plugin-ship",
|
|
378
|
+
"pluginType": "core",
|
|
379
|
+
"strict": true,
|
|
380
|
+
"summary": "Run a single ship task.",
|
|
381
|
+
"enableJsonFlag": false,
|
|
382
|
+
"isESM": true,
|
|
383
|
+
"relativePath": [
|
|
384
|
+
"lib",
|
|
385
|
+
"commands",
|
|
386
|
+
"ship",
|
|
387
|
+
"task",
|
|
388
|
+
"run.js"
|
|
389
|
+
],
|
|
390
|
+
"aliasPermutations": [],
|
|
391
|
+
"permutations": [
|
|
392
|
+
"ship:task:run",
|
|
393
|
+
"task:ship:run",
|
|
394
|
+
"task:run:ship",
|
|
395
|
+
"ship:run:task",
|
|
396
|
+
"run:ship:task",
|
|
397
|
+
"run:task:ship"
|
|
398
|
+
]
|
|
399
|
+
},
|
|
400
|
+
"ship:flow:eject": {
|
|
401
|
+
"aliases": [],
|
|
402
|
+
"args": {
|
|
403
|
+
"flowName": {
|
|
404
|
+
"description": "The name of the built-in flow to eject.",
|
|
405
|
+
"name": "flowName",
|
|
406
|
+
"required": true
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"description": "Copies a built-in flow definition into your project's .ship/flows/ directory so you can modify it. Fails if the flow is not a built-in, or if the destination file already exists.",
|
|
410
|
+
"examples": [
|
|
411
|
+
"Eject the ci flow into your project:\n<%= config.bin %> <%= command.id %> ci"
|
|
412
|
+
],
|
|
413
|
+
"flags": {
|
|
414
|
+
"flags-dir": {
|
|
415
|
+
"helpGroup": "GLOBAL",
|
|
416
|
+
"name": "flags-dir",
|
|
417
|
+
"summary": "Import flag values from a directory.",
|
|
418
|
+
"hasDynamicHelp": false,
|
|
419
|
+
"multiple": false,
|
|
420
|
+
"type": "option"
|
|
421
|
+
},
|
|
422
|
+
"config": {
|
|
423
|
+
"name": "config",
|
|
424
|
+
"summary": "Path to the ship.yml config file.",
|
|
425
|
+
"default": "ship.yml",
|
|
426
|
+
"hasDynamicHelp": false,
|
|
427
|
+
"multiple": false,
|
|
428
|
+
"type": "option"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"hasDynamicHelp": false,
|
|
432
|
+
"hiddenAliases": [],
|
|
433
|
+
"id": "ship:flow:eject",
|
|
434
|
+
"pluginAlias": "@sfship/plugin-ship",
|
|
435
|
+
"pluginName": "@sfship/plugin-ship",
|
|
436
|
+
"pluginType": "core",
|
|
437
|
+
"strict": true,
|
|
438
|
+
"summary": "Copy a standard flow into your project for customization.",
|
|
439
|
+
"enableJsonFlag": false,
|
|
440
|
+
"isESM": true,
|
|
441
|
+
"relativePath": [
|
|
442
|
+
"lib",
|
|
443
|
+
"commands",
|
|
444
|
+
"ship",
|
|
445
|
+
"flow",
|
|
446
|
+
"eject.js"
|
|
447
|
+
],
|
|
448
|
+
"aliasPermutations": [],
|
|
449
|
+
"permutations": [
|
|
450
|
+
"ship:flow:eject",
|
|
451
|
+
"flow:ship:eject",
|
|
452
|
+
"flow:eject:ship",
|
|
453
|
+
"ship:eject:flow",
|
|
454
|
+
"eject:ship:flow",
|
|
455
|
+
"eject:flow:ship"
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
"ship:flow:info": {
|
|
459
|
+
"aliases": [],
|
|
460
|
+
"args": {
|
|
461
|
+
"flowName": {
|
|
462
|
+
"description": "The name of the flow to inspect.",
|
|
463
|
+
"name": "flowName",
|
|
464
|
+
"required": true
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"description": "Displays the description, accepted params, and step-by-step breakdown for a named flow.",
|
|
468
|
+
"examples": [
|
|
469
|
+
"Show details for a flow:\n<%= config.bin %> <%= command.id %> ci"
|
|
470
|
+
],
|
|
471
|
+
"flags": {
|
|
472
|
+
"flags-dir": {
|
|
473
|
+
"helpGroup": "GLOBAL",
|
|
474
|
+
"name": "flags-dir",
|
|
475
|
+
"summary": "Import flag values from a directory.",
|
|
476
|
+
"hasDynamicHelp": false,
|
|
477
|
+
"multiple": false,
|
|
478
|
+
"type": "option"
|
|
479
|
+
},
|
|
480
|
+
"config": {
|
|
481
|
+
"name": "config",
|
|
482
|
+
"summary": "Path to the ship.yml config file.",
|
|
483
|
+
"default": "ship.yml",
|
|
484
|
+
"hasDynamicHelp": false,
|
|
485
|
+
"multiple": false,
|
|
486
|
+
"type": "option"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
"hasDynamicHelp": false,
|
|
490
|
+
"hiddenAliases": [],
|
|
491
|
+
"id": "ship:flow:info",
|
|
492
|
+
"pluginAlias": "@sfship/plugin-ship",
|
|
493
|
+
"pluginName": "@sfship/plugin-ship",
|
|
494
|
+
"pluginType": "core",
|
|
495
|
+
"strict": true,
|
|
496
|
+
"summary": "Show details for a flow.",
|
|
497
|
+
"enableJsonFlag": false,
|
|
498
|
+
"isESM": true,
|
|
499
|
+
"relativePath": [
|
|
500
|
+
"lib",
|
|
501
|
+
"commands",
|
|
502
|
+
"ship",
|
|
503
|
+
"flow",
|
|
504
|
+
"info.js"
|
|
505
|
+
],
|
|
506
|
+
"aliasPermutations": [],
|
|
507
|
+
"permutations": [
|
|
508
|
+
"ship:flow:info",
|
|
509
|
+
"flow:ship:info",
|
|
510
|
+
"flow:info:ship",
|
|
511
|
+
"ship:info:flow",
|
|
512
|
+
"info:ship:flow",
|
|
513
|
+
"info:flow:ship"
|
|
514
|
+
]
|
|
515
|
+
},
|
|
516
|
+
"ship:flow:list": {
|
|
517
|
+
"aliases": [],
|
|
518
|
+
"args": {},
|
|
519
|
+
"description": "Reads ship.yml and prints the names of all defined flows.",
|
|
520
|
+
"examples": [
|
|
521
|
+
"<%= config.bin %> <%= command.id %>"
|
|
522
|
+
],
|
|
523
|
+
"flags": {
|
|
524
|
+
"flags-dir": {
|
|
525
|
+
"helpGroup": "GLOBAL",
|
|
526
|
+
"name": "flags-dir",
|
|
527
|
+
"summary": "Import flag values from a directory.",
|
|
528
|
+
"hasDynamicHelp": false,
|
|
529
|
+
"multiple": false,
|
|
530
|
+
"type": "option"
|
|
531
|
+
},
|
|
532
|
+
"config": {
|
|
533
|
+
"name": "config",
|
|
534
|
+
"summary": "Path to the ship.yml config file.",
|
|
535
|
+
"default": "ship.yml",
|
|
536
|
+
"hasDynamicHelp": false,
|
|
537
|
+
"multiple": false,
|
|
538
|
+
"type": "option"
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
"hasDynamicHelp": false,
|
|
542
|
+
"hiddenAliases": [],
|
|
543
|
+
"id": "ship:flow:list",
|
|
544
|
+
"pluginAlias": "@sfship/plugin-ship",
|
|
545
|
+
"pluginName": "@sfship/plugin-ship",
|
|
546
|
+
"pluginType": "core",
|
|
547
|
+
"strict": true,
|
|
548
|
+
"summary": "List all flows defined in ship.yml.",
|
|
549
|
+
"enableJsonFlag": false,
|
|
550
|
+
"isESM": true,
|
|
551
|
+
"relativePath": [
|
|
552
|
+
"lib",
|
|
553
|
+
"commands",
|
|
554
|
+
"ship",
|
|
555
|
+
"flow",
|
|
556
|
+
"list.js"
|
|
557
|
+
],
|
|
558
|
+
"aliasPermutations": [],
|
|
559
|
+
"permutations": [
|
|
560
|
+
"ship:flow:list",
|
|
561
|
+
"flow:ship:list",
|
|
562
|
+
"flow:list:ship",
|
|
563
|
+
"ship:list:flow",
|
|
564
|
+
"list:ship:flow",
|
|
565
|
+
"list:flow:ship"
|
|
566
|
+
]
|
|
567
|
+
},
|
|
568
|
+
"ship:flow:run": {
|
|
569
|
+
"aliases": [],
|
|
570
|
+
"args": {
|
|
571
|
+
"flowName": {
|
|
572
|
+
"description": "Kebab-cased name of the flow to run, found in `ship.yml` such as `deploy-dev-org`.",
|
|
573
|
+
"name": "flowName",
|
|
574
|
+
"required": true
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
"description": "Reads ship.yml from the current directory, finds the named flow, and executes its tasks in sequence.",
|
|
578
|
+
"examples": [
|
|
579
|
+
"<%= config.bin %> <%= command.id %> my_flow"
|
|
580
|
+
],
|
|
581
|
+
"flags": {
|
|
582
|
+
"flags-dir": {
|
|
583
|
+
"helpGroup": "GLOBAL",
|
|
584
|
+
"name": "flags-dir",
|
|
585
|
+
"summary": "Import flag values from a directory.",
|
|
586
|
+
"hasDynamicHelp": false,
|
|
587
|
+
"multiple": false,
|
|
588
|
+
"type": "option"
|
|
589
|
+
},
|
|
590
|
+
"config": {
|
|
591
|
+
"name": "config",
|
|
592
|
+
"summary": "Path to the ship.yml config file.",
|
|
593
|
+
"default": "ship.yml",
|
|
594
|
+
"hasDynamicHelp": false,
|
|
595
|
+
"multiple": false,
|
|
596
|
+
"type": "option"
|
|
597
|
+
},
|
|
598
|
+
"param": {
|
|
599
|
+
"name": "param",
|
|
600
|
+
"summary": "Flow parameter in key=value format.",
|
|
601
|
+
"hasDynamicHelp": false,
|
|
602
|
+
"multiple": true,
|
|
603
|
+
"type": "option"
|
|
604
|
+
}
|
|
605
|
+
},
|
|
606
|
+
"hasDynamicHelp": false,
|
|
607
|
+
"hiddenAliases": [],
|
|
608
|
+
"id": "ship:flow:run",
|
|
609
|
+
"pluginAlias": "@sfship/plugin-ship",
|
|
610
|
+
"pluginName": "@sfship/plugin-ship",
|
|
611
|
+
"pluginType": "core",
|
|
612
|
+
"strict": true,
|
|
613
|
+
"summary": "Run a flow defined in ship.yml.",
|
|
614
|
+
"enableJsonFlag": false,
|
|
615
|
+
"isESM": true,
|
|
616
|
+
"relativePath": [
|
|
617
|
+
"lib",
|
|
618
|
+
"commands",
|
|
619
|
+
"ship",
|
|
620
|
+
"flow",
|
|
621
|
+
"run.js"
|
|
622
|
+
],
|
|
623
|
+
"aliasPermutations": [],
|
|
624
|
+
"permutations": [
|
|
625
|
+
"ship:flow:run",
|
|
626
|
+
"flow:ship:run",
|
|
627
|
+
"flow:run:ship",
|
|
628
|
+
"ship:run:flow",
|
|
629
|
+
"run:ship:flow",
|
|
630
|
+
"run:flow:ship"
|
|
631
|
+
]
|
|
632
|
+
},
|
|
633
|
+
"ship:service:connect:github": {
|
|
634
|
+
"aliases": [],
|
|
635
|
+
"args": {},
|
|
636
|
+
"description": "Opens a browser-based OAuth flow to authenticate with GitHub. Once connected, plugin-ship can interact with your repositories on your behalf.",
|
|
637
|
+
"examples": [
|
|
638
|
+
"<%= config.bin %> <%= command.id %>",
|
|
639
|
+
"<%= config.bin %> <%= command.id %> --alias work"
|
|
640
|
+
],
|
|
641
|
+
"flags": {
|
|
642
|
+
"flags-dir": {
|
|
643
|
+
"helpGroup": "GLOBAL",
|
|
644
|
+
"name": "flags-dir",
|
|
645
|
+
"summary": "Import flag values from a directory.",
|
|
646
|
+
"hasDynamicHelp": false,
|
|
647
|
+
"multiple": false,
|
|
648
|
+
"type": "option"
|
|
649
|
+
},
|
|
650
|
+
"alias": {
|
|
651
|
+
"name": "alias",
|
|
652
|
+
"summary": "Alias for this GitHub account. Defaults to \"default\".",
|
|
653
|
+
"default": "default",
|
|
654
|
+
"hasDynamicHelp": false,
|
|
655
|
+
"multiple": false,
|
|
656
|
+
"type": "option"
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
"hasDynamicHelp": false,
|
|
660
|
+
"hiddenAliases": [],
|
|
661
|
+
"id": "ship:service:connect:github",
|
|
662
|
+
"pluginAlias": "@sfship/plugin-ship",
|
|
663
|
+
"pluginName": "@sfship/plugin-ship",
|
|
664
|
+
"pluginType": "core",
|
|
665
|
+
"strict": true,
|
|
666
|
+
"summary": "Connect a GitHub account to plugin-ship via OAuth.",
|
|
667
|
+
"enableJsonFlag": false,
|
|
668
|
+
"isESM": true,
|
|
669
|
+
"relativePath": [
|
|
670
|
+
"lib",
|
|
671
|
+
"commands",
|
|
672
|
+
"ship",
|
|
673
|
+
"service",
|
|
674
|
+
"connect",
|
|
675
|
+
"github.js"
|
|
676
|
+
],
|
|
677
|
+
"aliasPermutations": [],
|
|
678
|
+
"permutations": [
|
|
679
|
+
"ship:service:connect:github",
|
|
680
|
+
"service:ship:connect:github",
|
|
681
|
+
"service:connect:ship:github",
|
|
682
|
+
"service:connect:github:ship",
|
|
683
|
+
"ship:connect:service:github",
|
|
684
|
+
"connect:ship:service:github",
|
|
685
|
+
"connect:service:ship:github",
|
|
686
|
+
"connect:service:github:ship",
|
|
687
|
+
"ship:connect:github:service",
|
|
688
|
+
"connect:ship:github:service",
|
|
689
|
+
"connect:github:ship:service",
|
|
690
|
+
"connect:github:service:ship",
|
|
691
|
+
"ship:service:github:connect",
|
|
692
|
+
"service:ship:github:connect",
|
|
693
|
+
"service:github:ship:connect",
|
|
694
|
+
"service:github:connect:ship",
|
|
695
|
+
"ship:github:service:connect",
|
|
696
|
+
"github:ship:service:connect",
|
|
697
|
+
"github:service:ship:connect",
|
|
698
|
+
"github:service:connect:ship",
|
|
699
|
+
"ship:github:connect:service",
|
|
700
|
+
"github:ship:connect:service",
|
|
701
|
+
"github:connect:ship:service",
|
|
702
|
+
"github:connect:service:ship"
|
|
703
|
+
]
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
"version": "1.0.0-beta.2"
|
|
707
|
+
}
|