@hubspot/cli 7.0.0-experimental.0 → 7.0.0-experimental.1
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/bin/cli.js +15 -36
- package/commands/{account → accounts}/clean.js +9 -10
- package/commands/{account → accounts}/info.js +14 -10
- package/commands/{account → accounts}/list.js +13 -16
- package/commands/{account → accounts}/remove.js +8 -8
- package/commands/{account → accounts}/rename.js +5 -4
- package/commands/{account → accounts}/use.js +8 -5
- package/commands/accounts.js +30 -0
- package/commands/auth.js +23 -30
- package/commands/cms/lighthouseScore.js +19 -19
- package/commands/cms/reactModules.js +60 -0
- package/commands/cms.js +3 -4
- package/commands/config/set.js +22 -22
- package/commands/config.js +2 -2
- package/commands/create.js +3 -5
- package/commands/customObject/create.js +13 -18
- package/commands/customObject/schema/create.js +14 -14
- package/commands/customObject/schema/delete.js +9 -29
- package/commands/customObject/schema/fetch-all.js +9 -14
- package/commands/customObject/schema/fetch.js +12 -22
- package/commands/customObject/schema/list.js +4 -3
- package/commands/customObject/schema/update.js +16 -27
- package/commands/customObject/schema.js +1 -1
- package/commands/customObject.js +4 -3
- package/commands/doctor.js +0 -2
- package/commands/feedback.js +0 -2
- package/commands/fetch.js +12 -13
- package/commands/filemanager/fetch.js +5 -6
- package/commands/filemanager/upload.js +10 -10
- package/commands/filemanager.js +4 -0
- package/commands/{function → functions}/deploy.js +11 -13
- package/commands/{function → functions}/list.js +7 -7
- package/commands/{function → functions}/server.js +6 -5
- package/commands/functions.js +24 -0
- package/commands/hubdb/clear.js +8 -14
- package/commands/hubdb/create.js +11 -36
- package/commands/hubdb/delete.js +8 -31
- package/commands/hubdb/fetch.js +7 -14
- package/commands/hubdb.js +3 -2
- package/commands/init.js +14 -37
- package/commands/lint.js +5 -6
- package/commands/list.js +5 -5
- package/commands/logs.js +13 -24
- package/commands/module/marketplace-validate.js +7 -6
- package/commands/module.js +1 -2
- package/commands/mv.js +11 -11
- package/commands/open.js +10 -11
- package/commands/project/add.js +3 -2
- package/commands/project/cloneApp.js +30 -28
- package/commands/project/create.js +8 -8
- package/commands/project/deploy.js +13 -16
- package/commands/project/dev.js +14 -14
- package/commands/project/download.js +13 -18
- package/commands/project/listBuilds.js +29 -34
- package/commands/project/logs.js +5 -5
- package/commands/project/migrateApp.js +25 -27
- package/commands/project/open.js +8 -7
- package/commands/project/upload.js +29 -27
- package/commands/project/watch.js +19 -12
- package/commands/project.js +4 -3
- package/commands/remove.js +11 -14
- package/commands/sandbox/create.js +13 -12
- package/commands/sandbox/delete.js +13 -15
- package/commands/sandbox.js +4 -3
- package/commands/{secret → secrets}/addSecret.js +9 -24
- package/commands/secrets/deleteSecret.js +46 -0
- package/commands/{secret → secrets}/listSecrets.js +6 -6
- package/commands/{secret → secrets}/updateSecret.js +10 -20
- package/commands/secrets.js +23 -0
- package/commands/theme/generate-selectors.js +8 -8
- package/commands/theme/marketplace-validate.js +11 -10
- package/commands/theme/preview.js +7 -6
- package/commands/theme.js +1 -3
- package/commands/upload.js +24 -28
- package/commands/watch.js +19 -19
- package/lang/en.lyaml +111 -177
- package/lib/LocalDevManager.js +1 -1
- package/lib/buildAccount.js +1 -3
- package/lib/commonOpts.d.ts +6 -15
- package/lib/commonOpts.js +38 -54
- package/lib/configOptions.js +18 -19
- package/lib/dependencyManagement.d.ts +4 -1
- package/lib/dependencyManagement.js +2 -2
- package/lib/developerTestAccounts.js +5 -8
- package/lib/doctor/Doctor.js +7 -3
- package/lib/localDev.js +1 -1
- package/lib/oauth.js +1 -3
- package/lib/projects.js +5 -10
- package/lib/prompts/accountsPrompt.js +5 -9
- package/lib/prompts/createModulePrompt.js +2 -17
- package/lib/prompts/createProjectPrompt.js +5 -5
- package/lib/prompts/projectDevTargetAccountPrompt.js +2 -3
- package/lib/prompts/promptUtils.d.ts +0 -3
- package/lib/prompts/promptUtils.js +2 -14
- package/lib/prompts/sandboxesPrompt.js +7 -10
- package/lib/prompts/secretPrompt.d.ts +1 -3
- package/lib/prompts/secretPrompt.js +19 -32
- package/lib/prompts/setAsDefaultAccountPrompt.js +2 -4
- package/lib/sandboxSync.js +2 -5
- package/lib/sandboxes.js +7 -12
- package/lib/validation.js +13 -14
- package/package.json +5 -6
- package/commands/account.js +0 -26
- package/commands/cms/getReactModule.js +0 -70
- package/commands/completion.js +0 -22
- package/commands/function.js +0 -20
- package/commands/secret/deleteSecret.js +0 -71
- package/commands/secret.d.ts +0 -1
- package/commands/secret.js +0 -22
- package/lib/prompts/selectHubDBTablePrompt.d.ts +0 -8
- package/lib/prompts/selectHubDBTablePrompt.js +0 -69
- /package/commands/{account → accounts}/clean.d.ts +0 -0
- /package/commands/{account → accounts}/info.d.ts +0 -0
- /package/commands/{account → accounts}/list.d.ts +0 -0
- /package/commands/{account → accounts}/remove.d.ts +0 -0
- /package/commands/{account → accounts}/rename.d.ts +0 -0
- /package/commands/{account → accounts}/use.d.ts +0 -0
- /package/commands/{account.d.ts → accounts.d.ts} +0 -0
- /package/commands/cms/{getReactModule.d.ts → reactModules.d.ts} +0 -0
- /package/commands/{function → functions}/deploy.d.ts +0 -0
- /package/commands/{function → functions}/list.d.ts +0 -0
- /package/commands/{function → functions}/server.d.ts +0 -0
- /package/commands/{completion.d.ts → functions.d.ts} +0 -0
- /package/commands/{secret → secrets}/addSecret.d.ts +0 -0
- /package/commands/{secret → secrets}/deleteSecret.d.ts +0 -0
- /package/commands/{secret → secrets}/listSecrets.d.ts +0 -0
- /package/commands/{secret → secrets}/updateSecret.d.ts +0 -0
- /package/commands/{function.d.ts → secrets.d.ts} +0 -0
package/lang/en.lyaml
CHANGED
|
@@ -7,14 +7,8 @@ en:
|
|
|
7
7
|
cliUpdateNotification: "HubSpot CLI version {{#cyan}}{{#bold}}{currentVersion}{{/bold}}{{/cyan}} is outdated.\nRun {{ updateCommand }} to upgrade to version {{#cyan}}{{#bold}}{latestVersion}{{/bold}}{{/cyan}}"
|
|
8
8
|
srcIsProject: "\"{{ src }}\" is in a project folder. Did you mean \"hs project {{command}}\"?"
|
|
9
9
|
setDefaultAccountMoved: "This command has moved. Try `hs accounts use` instead"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
completion:
|
|
13
|
-
describe: "Enable bash completion shortcuts for commands. Concat the generated script to your .bashrc, .bash_profile, or .zshrc file."
|
|
14
|
-
examples:
|
|
15
|
-
default: "Generate shell completion scripts for the zsh shell"
|
|
16
|
-
account:
|
|
17
|
-
describe: "Commands for managing configured accounts."
|
|
10
|
+
accounts:
|
|
11
|
+
describe: "Commands for working with accounts."
|
|
18
12
|
subcommands:
|
|
19
13
|
list:
|
|
20
14
|
accounts: "{{#bold}}Accounts{{/bold}}:"
|
|
@@ -26,7 +20,7 @@ en:
|
|
|
26
20
|
authType: "Auth Type"
|
|
27
21
|
name: "Name"
|
|
28
22
|
rename:
|
|
29
|
-
describe: "Rename
|
|
23
|
+
describe: "Rename account in config."
|
|
30
24
|
positionals:
|
|
31
25
|
accountName:
|
|
32
26
|
describe: "Name of account to be renamed."
|
|
@@ -67,7 +61,7 @@ en:
|
|
|
67
61
|
accountRemoved: "Account \"{{ accountName }}\" removed from the config"
|
|
68
62
|
info:
|
|
69
63
|
accountId: "{{#bold}}Account ID{{/bold}}: {{ accountId }}"
|
|
70
|
-
describe: "Print information about the default account, or about the account specified with the \"account\" option."
|
|
64
|
+
describe: "Print information about the default account, or about the account specified with the \"--account\" option."
|
|
71
65
|
errors:
|
|
72
66
|
notUsingPersonalAccessKey: "This command currently only supports fetching scopes for the personal access key auth type."
|
|
73
67
|
examples:
|
|
@@ -77,7 +71,7 @@ en:
|
|
|
77
71
|
name: "{{#bold}}Account name{{/bold}}: {{ name }}"
|
|
78
72
|
scopeGroups: "{{#bold}}Scopes available{{/bold}}:"
|
|
79
73
|
clean:
|
|
80
|
-
describe: "
|
|
74
|
+
describe: "Checks for inactive accounts and removes them from the CLI config"
|
|
81
75
|
noResults: "No inactive accounts found to remove."
|
|
82
76
|
loading:
|
|
83
77
|
add: "Looking for inactive accounts…"
|
|
@@ -93,27 +87,28 @@ en:
|
|
|
93
87
|
errors:
|
|
94
88
|
noConfigFileFound: "No config file was found. To create a new config file, use the \"hs init\" command."
|
|
95
89
|
unsupportedAuthType: "Unsupported auth type: {{ type }}. The only supported authentication protocols are {{ supportedProtocols }}."
|
|
96
|
-
|
|
97
|
-
|
|
90
|
+
positionals:
|
|
91
|
+
type:
|
|
98
92
|
describe: "Authentication mechanism"
|
|
99
|
-
defaultDescription: "\"{{ authMethod }}\":
|
|
93
|
+
defaultDescription: "\"{{ authMethod }}\": \nAn access token tied to a specific user account. This is the recommended way of authenticating with local development tools."
|
|
94
|
+
options:
|
|
100
95
|
account:
|
|
101
96
|
describe: "HubSpot account to authenticate"
|
|
102
97
|
success:
|
|
103
98
|
configFileUpdated: "Account \"{{ accountName }}\" updated in {{ configFilename }} using \"{{ authType }}\""
|
|
104
99
|
config:
|
|
105
|
-
describe: "Commands for
|
|
100
|
+
describe: "Commands for working with the config file."
|
|
106
101
|
subcommands:
|
|
107
102
|
set:
|
|
108
|
-
describe: "
|
|
103
|
+
describe: "Commands for modifying the CLI configuration"
|
|
109
104
|
promptMessage: "Select a config option to update"
|
|
110
105
|
examples:
|
|
111
106
|
default: "Opens a prompt to select a config item to modify"
|
|
112
107
|
options:
|
|
113
108
|
defaultMode:
|
|
114
|
-
describe: "Set the default
|
|
115
|
-
promptMessage: "Select
|
|
116
|
-
error: "The
|
|
109
|
+
describe: "Set the default mode"
|
|
110
|
+
promptMessage: "Select mode to be used as the default"
|
|
111
|
+
error: "The mode \"{{ mode }}\" is invalid. Valid values are {{ validModes }}."
|
|
117
112
|
success: "Default mode updated to: {{ mode }}"
|
|
118
113
|
allowUsageTracking:
|
|
119
114
|
describe: "Enable or disable usage tracking"
|
|
@@ -155,10 +150,9 @@ en:
|
|
|
155
150
|
describe: "Medium to test against"
|
|
156
151
|
verbose:
|
|
157
152
|
describe: "View a detailed output of the lighthouse sores"
|
|
158
|
-
|
|
159
|
-
describe: "Get a specified default React module
|
|
160
|
-
|
|
161
|
-
positionals:
|
|
153
|
+
reactModule:
|
|
154
|
+
describe: "Get a specified default React module"
|
|
155
|
+
options:
|
|
162
156
|
name:
|
|
163
157
|
describe: "Name of the react modules to be fetched"
|
|
164
158
|
dest:
|
|
@@ -168,6 +162,7 @@ en:
|
|
|
168
162
|
errors:
|
|
169
163
|
pathExists: "Folder already exists at \"{{ path }}\""
|
|
170
164
|
invalidName: "Module not found with that name, please check the spelling of the module you are trying to download."
|
|
165
|
+
groupLabel: "React modules available to download:"
|
|
171
166
|
create:
|
|
172
167
|
describe: "Create HubSpot sample apps and CMS assets. Supported assets are {{ supportedAssetTypes }}."
|
|
173
168
|
errors:
|
|
@@ -199,38 +194,35 @@ en:
|
|
|
199
194
|
nameRequired: "The \"name\" argument is required when creating a Template."
|
|
200
195
|
customObject:
|
|
201
196
|
betaMessage: "The Custom Object CLI is currently in beta and is subject to change."
|
|
202
|
-
describe: "
|
|
197
|
+
describe: "Manage Custom Objects. This feature is currently in beta and the CLI contract is subject to change."
|
|
203
198
|
seeMoreLink: "View our docs to find out more."
|
|
204
199
|
subcommands:
|
|
205
200
|
create:
|
|
206
|
-
describe: "Create custom object instances
|
|
201
|
+
describe: "Create custom object instances"
|
|
207
202
|
errors:
|
|
208
203
|
creationFailed: "Object creation from {{ definition }} failed"
|
|
209
|
-
options:
|
|
210
|
-
path:
|
|
211
|
-
describe: "Local path to the JSON file containing an array of object definitions"
|
|
212
204
|
positionals:
|
|
205
|
+
definition:
|
|
206
|
+
describe: "Local path to the JSON file containing an array of object definitions"
|
|
213
207
|
name:
|
|
214
208
|
describe: "Schema name to add the object instance to"
|
|
215
209
|
success:
|
|
216
210
|
objectsCreated: "Objects created"
|
|
217
|
-
inputSchema: "What would you like to name the schema?"
|
|
218
|
-
inputPath: "[--path] Where is the JSON file containing the object definitions?"
|
|
219
211
|
schema:
|
|
220
|
-
describe: "
|
|
212
|
+
describe: "Manage custom object schemas"
|
|
221
213
|
subcommands:
|
|
222
214
|
create:
|
|
223
|
-
describe: "Create a custom object schema
|
|
215
|
+
describe: "Create a custom object schema"
|
|
224
216
|
errors:
|
|
225
217
|
creationFailed: "Schema creation from {{ definition }} failed"
|
|
226
|
-
|
|
218
|
+
positionals:
|
|
227
219
|
definition:
|
|
228
220
|
describe: "Local path to the JSON file containing the schema definition"
|
|
229
221
|
success:
|
|
230
222
|
schemaCreated: "Your schema has been created in account \"{{ accountId }}\""
|
|
231
223
|
schemaViewable: "Schema can be viewed at {{ url }}"
|
|
232
224
|
delete:
|
|
233
|
-
describe: "Delete a custom object schema
|
|
225
|
+
describe: "Delete a custom object schema"
|
|
234
226
|
errors:
|
|
235
227
|
delete: "Unable to delete {{ name }}"
|
|
236
228
|
examples:
|
|
@@ -238,16 +230,10 @@ en:
|
|
|
238
230
|
positionals:
|
|
239
231
|
name:
|
|
240
232
|
describe: "Name of the target schema"
|
|
241
|
-
options:
|
|
242
|
-
force:
|
|
243
|
-
describe: "Force the deletion of the schema."
|
|
244
233
|
success:
|
|
245
234
|
delete: "Successfully initiated deletion of {{ name }}"
|
|
246
|
-
confirmDelete: "Are you sure you want to delete the schema \"{{ name }}\"?"
|
|
247
|
-
deleteCancelled: "Deletion of schema \"{{ name }}\" cancelled."
|
|
248
|
-
selectSchema: "Which schema would you like to delete?"
|
|
249
235
|
fetchAll:
|
|
250
|
-
describe: "Fetch all custom object schemas for an account
|
|
236
|
+
describe: "Fetch all custom object schemas for an account"
|
|
251
237
|
errors:
|
|
252
238
|
fetch: "Unable to fetch schemas"
|
|
253
239
|
examples:
|
|
@@ -258,9 +244,8 @@ en:
|
|
|
258
244
|
describe: "Local folder where schemas will be written"
|
|
259
245
|
success:
|
|
260
246
|
fetch: "Saved schemas to {{ path }}"
|
|
261
|
-
inputDest: "Where would you like to save the schemas?"
|
|
262
247
|
fetch:
|
|
263
|
-
describe: "Fetch a custom object schema
|
|
248
|
+
describe: "Fetch a custom object schema"
|
|
264
249
|
errors:
|
|
265
250
|
fetch: "Unable to fetch {{ name }}"
|
|
266
251
|
examples:
|
|
@@ -271,29 +256,25 @@ en:
|
|
|
271
256
|
describe: "Local folder where schema will be written"
|
|
272
257
|
name:
|
|
273
258
|
describe: "Name of the target schema"
|
|
274
|
-
selectSchema: "Which schema would you like to fetch?"
|
|
275
|
-
inputDest: "What would you like to name the destination file?"
|
|
276
259
|
success:
|
|
277
260
|
save: "The schema \"{{ name }}\" has been saved to \"{{ path }}\""
|
|
278
261
|
savedToPath: "Saved schema to {{ path }}"
|
|
279
262
|
list:
|
|
280
|
-
describe: "List
|
|
263
|
+
describe: "List schemas available on your account"
|
|
281
264
|
errors:
|
|
282
265
|
list: "Unable to list schemas"
|
|
283
266
|
update:
|
|
284
|
-
describe: "Update an existing custom object schema
|
|
267
|
+
describe: "Update an existing custom object schema"
|
|
285
268
|
errors:
|
|
286
269
|
update: "Schema update from {{ definition }} failed"
|
|
287
|
-
options:
|
|
288
|
-
path:
|
|
289
|
-
describe: "Local path to the JSON file containing the schema definition"
|
|
290
270
|
positionals:
|
|
271
|
+
definition:
|
|
272
|
+
describe: "Local path to the JSON file containing the schema definition"
|
|
291
273
|
name:
|
|
292
274
|
describe: "Name of the target schema"
|
|
293
275
|
success:
|
|
294
276
|
update: "Your schema has been updated in account \"{{ accountId }}\""
|
|
295
277
|
viewAtUrl: "Schema can be viewed at {{ url }}"
|
|
296
|
-
selectSchema: "Which schema would you like to update?"
|
|
297
278
|
doctor:
|
|
298
279
|
describe: "Retrieve diagnostic information about your local HubSpot configurations."
|
|
299
280
|
options:
|
|
@@ -317,10 +298,10 @@ en:
|
|
|
317
298
|
src:
|
|
318
299
|
describe: "Path in HubSpot Design Tools"
|
|
319
300
|
filemanager:
|
|
320
|
-
describe: "Commands for
|
|
301
|
+
describe: "Commands for working with the File Manager."
|
|
321
302
|
subcommands:
|
|
322
303
|
fetch:
|
|
323
|
-
describe: "
|
|
304
|
+
describe: "Download a folder or file from the HubSpot File Manager to your computer"
|
|
324
305
|
errors:
|
|
325
306
|
sourceRequired: "A source to fetch is required."
|
|
326
307
|
options:
|
|
@@ -332,7 +313,7 @@ en:
|
|
|
332
313
|
src:
|
|
333
314
|
describe: "Path to the local directory you would like the files to be placed, relative to your current working directory. If omitted, this argument will default to your current working directory"
|
|
334
315
|
upload:
|
|
335
|
-
describe: "Upload a folder or file to the File Manager
|
|
316
|
+
describe: "Upload a folder or file from your computer to the HubSpot File Manager"
|
|
336
317
|
errors:
|
|
337
318
|
destinationRequired: "A destination path needs to be passed"
|
|
338
319
|
fileIgnored: "The file \"{{ path }}\" is being ignored via an .hsignore rule"
|
|
@@ -349,8 +330,8 @@ en:
|
|
|
349
330
|
success:
|
|
350
331
|
upload: "Uploaded file from \"{{ src }}\" to \"{{ dest }}\" in the File Manager of account {{ accountId }}"
|
|
351
332
|
uploadComplete: "Uploading files to \"{{ dest }}\" in the File Manager is complete"
|
|
352
|
-
|
|
353
|
-
describe: "Commands for
|
|
333
|
+
functions:
|
|
334
|
+
describe: "Commands for working with functions."
|
|
354
335
|
subcommands:
|
|
355
336
|
deploy:
|
|
356
337
|
debug:
|
|
@@ -365,13 +346,13 @@ en:
|
|
|
365
346
|
loadingFailed: "Failed to build and deploy bundle for \"{{ functionPath }}\" on {{ account }}"
|
|
366
347
|
positionals:
|
|
367
348
|
path:
|
|
368
|
-
describe: "Path to
|
|
349
|
+
describe: "Path to .functions folder"
|
|
369
350
|
success:
|
|
370
351
|
deployed: "Built and deployed bundle from package.json for {{ functionPath }} on account {{ accountId }} in {{ buildTimeSeconds }}s."
|
|
371
352
|
list:
|
|
372
353
|
debug:
|
|
373
354
|
gettingFunctions: "Getting currently deployed functions"
|
|
374
|
-
describe: "List
|
|
355
|
+
describe: "List currently deployed functions"
|
|
375
356
|
info:
|
|
376
357
|
noFunctions: "No functions found"
|
|
377
358
|
options:
|
|
@@ -395,10 +376,10 @@ en:
|
|
|
395
376
|
path:
|
|
396
377
|
describe: "Path to local .functions folder"
|
|
397
378
|
hubdb:
|
|
398
|
-
describe: "
|
|
379
|
+
describe: "Manage HubDB tables."
|
|
399
380
|
subcommands:
|
|
400
381
|
clear:
|
|
401
|
-
describe: "Clear all rows in a HubDB table
|
|
382
|
+
describe: "Clear all rows in a HubDB table"
|
|
402
383
|
logs:
|
|
403
384
|
removedRows: "Removed {{ deletedRowCount }} rows from HubDB table {{ tableId }}"
|
|
404
385
|
rowCount: "HubDB table {{ tableId }} now contains {{ rowCount }} rows"
|
|
@@ -407,32 +388,25 @@ en:
|
|
|
407
388
|
tableId:
|
|
408
389
|
describe: "HubDB Table ID"
|
|
409
390
|
create:
|
|
410
|
-
describe: "Create a HubDB table
|
|
411
|
-
enterPath: "[--path] Enter the local path to the file used for import:"
|
|
391
|
+
describe: "Create a HubDB table"
|
|
412
392
|
errors:
|
|
413
|
-
create: "Creating the table at \"{{
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
options:
|
|
417
|
-
path:
|
|
393
|
+
create: "Creating the table at \"{{ src }}\" failed"
|
|
394
|
+
positionals:
|
|
395
|
+
src:
|
|
418
396
|
describe: "Local path to file used for import"
|
|
419
397
|
success:
|
|
420
398
|
create: "The table {{ tableId }} was created in {{ accountId }} with {{ rowCount }} rows"
|
|
421
399
|
delete:
|
|
422
|
-
describe: "Delete a HubDB table
|
|
423
|
-
shouldDeleteTable: "Proceed with deleting HubDB table {{ tableId }}?"
|
|
400
|
+
describe: "Delete a HubDB table"
|
|
424
401
|
errors:
|
|
425
402
|
delete: "Deleting the table {{ tableId }} failed"
|
|
426
403
|
positionals:
|
|
427
404
|
tableId:
|
|
428
405
|
describe: "HubDB Table ID"
|
|
429
|
-
options:
|
|
430
|
-
force:
|
|
431
|
-
describe: "Skips confirmation prompt when deleting a HubDB table"
|
|
432
406
|
success:
|
|
433
407
|
delete: "The table {{ tableId }} was deleted from {{ accountId }}"
|
|
434
408
|
fetch:
|
|
435
|
-
describe: "Fetch
|
|
409
|
+
describe: "Fetch a HubDB table"
|
|
436
410
|
positionals:
|
|
437
411
|
dest:
|
|
438
412
|
describe: "Local destination folder to fetch table to"
|
|
@@ -443,13 +417,11 @@ en:
|
|
|
443
417
|
init:
|
|
444
418
|
describe: "Initialize {{ configName }} for a HubSpot account."
|
|
445
419
|
options:
|
|
446
|
-
|
|
447
|
-
describe: "
|
|
448
|
-
defaultDescription: "\"{{
|
|
420
|
+
auth:
|
|
421
|
+
describe: "Specify auth method to use [\"personalaccesskey\", \"oauth2\"]"
|
|
422
|
+
defaultDescription: "\"{{ defaultType }}\": \nAn access token tied to a specific user account. This is the recommended way of authenticating with local development tools."
|
|
449
423
|
account:
|
|
450
424
|
describe: "HubSpot account to authenticate"
|
|
451
|
-
useHiddenConfig:
|
|
452
|
-
describe: "Use the new HubSpot configuration file located in a hidden file in the user's home directory"
|
|
453
425
|
success:
|
|
454
426
|
configFileCreated: "Created config file \"{{ configPath }}\""
|
|
455
427
|
configFileUpdated: "Connected account \"{{ account }}\" using \"{{ authType }}\" and set it as the default account"
|
|
@@ -457,7 +429,6 @@ en:
|
|
|
457
429
|
updateConfig: "To update an existing config file, use the \"hs auth\" command."
|
|
458
430
|
errors:
|
|
459
431
|
configFileExists: "The config file {{ configPath }} already exists."
|
|
460
|
-
bothConfigFilesNotAllowed: "Unable to create config file, because there is an existing one at \"{{ path }}\". To create a new config file, delete the existing one and try again."
|
|
461
432
|
lint:
|
|
462
433
|
issuesFound: "{{ count }} issues found."
|
|
463
434
|
groupName: "Linting {{ path }}"
|
|
@@ -472,14 +443,13 @@ en:
|
|
|
472
443
|
path:
|
|
473
444
|
describe: "Remote directory to list contents"
|
|
474
445
|
logs:
|
|
475
|
-
describe: "
|
|
446
|
+
describe: "Get logs for a function."
|
|
476
447
|
errors:
|
|
477
448
|
noLogsFound: "No logs were found for the function path \"{{ functionPath }}\" in account \"{{ accountId }}\"."
|
|
478
449
|
examples:
|
|
479
450
|
default: "Get 5 most recent logs for function residing at /_hcms/api/my-endpoint"
|
|
480
451
|
follow: "Poll for and output logs for function residing at /_hcms/api/my-endpoint immediately upon new execution"
|
|
481
452
|
limit: "Get 10 most recent logs for function residing at /_hcms/api/my-endpoint"
|
|
482
|
-
endpointPrompt: "Enter a serverless function endpoint:"
|
|
483
453
|
gettingLogs: "Getting {{#if latest}}latest {{/if}}logs for function with path: {{ functionPath }}."
|
|
484
454
|
options:
|
|
485
455
|
compact:
|
|
@@ -501,7 +471,7 @@ en:
|
|
|
501
471
|
moveFailed: "Moving \"{{ srcPath }}\" to \"{{ destPath }}\" in account {{ accountId }} failed"
|
|
502
472
|
move: "Moved \"{{ srcPath }}\" to \"{{ destPath }}\" in account {{ accountId }}"
|
|
503
473
|
open:
|
|
504
|
-
describe: "Open a HubSpot page in your browser."
|
|
474
|
+
describe: "Open a HubSpot page in your browser. Run \"hs open list\" to see all available shortcuts."
|
|
505
475
|
options:
|
|
506
476
|
list:
|
|
507
477
|
describe: "List all supported shortcuts"
|
|
@@ -510,10 +480,10 @@ en:
|
|
|
510
480
|
describe: "Shortcut of the link you'd like to open"
|
|
511
481
|
selectLink: "Select a link to open"
|
|
512
482
|
project:
|
|
513
|
-
describe: "Commands for
|
|
483
|
+
describe: "Commands for working with projects. For more information, visit our documentation: https://developers.hubspot.com/docs/platform/build-and-deploy-using-hubspot-projects"
|
|
514
484
|
subcommands:
|
|
515
485
|
dev:
|
|
516
|
-
describe: "Start local dev for the current project
|
|
486
|
+
describe: "Start local dev for the current project"
|
|
517
487
|
logs:
|
|
518
488
|
betaMessage: "HubSpot projects local development"
|
|
519
489
|
placeholderAccountSelection: "Using default account as target account (for now)"
|
|
@@ -525,14 +495,14 @@ en:
|
|
|
525
495
|
examples:
|
|
526
496
|
default: "Start local dev for the current project"
|
|
527
497
|
create:
|
|
528
|
-
describe: "Create a new project
|
|
498
|
+
describe: "Create a new project"
|
|
529
499
|
logs:
|
|
530
500
|
welcomeMessage: "Welcome to HubSpot Developer Projects!"
|
|
531
501
|
examples:
|
|
532
502
|
default: "Create a new project"
|
|
533
503
|
options:
|
|
534
|
-
|
|
535
|
-
describe: "Directory where
|
|
504
|
+
location:
|
|
505
|
+
describe: "Directory where project should be created"
|
|
536
506
|
name:
|
|
537
507
|
describe: "Project name (cannot be changed)"
|
|
538
508
|
template:
|
|
@@ -540,14 +510,14 @@ en:
|
|
|
540
510
|
templateSource:
|
|
541
511
|
describe: "Path to custom GitHub repository from which to create project template"
|
|
542
512
|
migrateApp:
|
|
543
|
-
describe: "Migrate a public app to the projects framework
|
|
513
|
+
describe: "Migrate a public app to the projects framework"
|
|
544
514
|
examples:
|
|
545
515
|
default: "Migrate a public app to the projects framework"
|
|
546
516
|
options:
|
|
547
517
|
appId:
|
|
548
518
|
describe: "The ID for the public app being migrated to the projects framework"
|
|
549
|
-
|
|
550
|
-
describe: "Directory where
|
|
519
|
+
location:
|
|
520
|
+
describe: "Directory where project should be created"
|
|
551
521
|
name:
|
|
552
522
|
describe: "Project name (cannot be changed)"
|
|
553
523
|
header:
|
|
@@ -574,25 +544,25 @@ en:
|
|
|
574
544
|
projectAlreadyExists: "A project with name {{ projectName }} already exists. Please choose another name."
|
|
575
545
|
invalidApp: "Could not migrate appId {{ appId }}. This app cannot be migrated at this time. Please choose another public app."
|
|
576
546
|
cloneApp:
|
|
577
|
-
describe: "Clone a public app using the projects framework
|
|
547
|
+
describe: "Clone a public app using the projects framework"
|
|
578
548
|
examples:
|
|
579
549
|
default: "Clone a public app using the projects framework"
|
|
580
550
|
options:
|
|
581
551
|
appId:
|
|
582
552
|
describe: "The ID for the public app being cloned"
|
|
583
|
-
|
|
584
|
-
describe: "Directory where
|
|
553
|
+
location:
|
|
554
|
+
describe: "Directory where project should be created"
|
|
585
555
|
cloneStatus:
|
|
586
556
|
inProgress: "Cloning app configuration to {{#bold}}public-app.json{{/bold}} component definition ..."
|
|
587
557
|
done: "Cloning app configuration to public-app.json component definition ... DONE"
|
|
588
|
-
success: "Your cloned project was created in {{
|
|
558
|
+
success: "Your cloned project was created in {{ location }}"
|
|
589
559
|
failure: "Cloning app configuration to public-app.json component definition ... FAILED"
|
|
590
560
|
errors:
|
|
591
561
|
invalidAccountTypeTitle: "{{#bold}}Developer account not targeted{{/bold}}"
|
|
592
562
|
invalidAccountTypeDescription: "Only public apps created in a developer account can be converted to a project component. Select a connected developer account with {{useCommand}} or {{authCommand}} and try again."
|
|
593
563
|
couldNotWriteConfigPath: "Failed to write project config at {{ configPath }}"
|
|
594
564
|
add:
|
|
595
|
-
describe: "Create a new component within a project
|
|
565
|
+
describe: "Create a new component within a project"
|
|
596
566
|
options:
|
|
597
567
|
name:
|
|
598
568
|
describe: "The name for your newly created component"
|
|
@@ -608,7 +578,7 @@ en:
|
|
|
608
578
|
default: "Create a component within your project"
|
|
609
579
|
withFlags: "Use --name and --type flags to bypass the prompt."
|
|
610
580
|
deploy:
|
|
611
|
-
describe: "Deploy a project build
|
|
581
|
+
describe: "Deploy a project build"
|
|
612
582
|
deployBuildIdPrompt: "[--build] Deploy which build?"
|
|
613
583
|
debug:
|
|
614
584
|
deploying: "Deploying project at path: {{ path }}"
|
|
@@ -629,23 +599,9 @@ en:
|
|
|
629
599
|
project:
|
|
630
600
|
describe: "Project name"
|
|
631
601
|
listBuilds:
|
|
632
|
-
describe: "List the project's builds
|
|
633
|
-
continueOrExitPrompt: "Press <enter> to load more, or ctrl+c to exit"
|
|
634
|
-
viewAllBuildsLink: "View all builds"
|
|
635
|
-
showingNextBuilds: "Showing the next {{ count }} builds for {{ projectName }}"
|
|
636
|
-
showingRecentBuilds: "Showing the most {{ count }} recent builds for {{ projectName }}. {{ viewAllBuildsLink }}."
|
|
637
|
-
errors:
|
|
638
|
-
noBuilds: "No builds for this project were found."
|
|
639
|
-
projectNotFound: "Project {{ projectName}} not found."
|
|
640
|
-
options:
|
|
641
|
-
project:
|
|
642
|
-
describe: "Project name"
|
|
643
|
-
limit:
|
|
644
|
-
describe: "Limit the number of builds to output"
|
|
645
|
-
examples:
|
|
646
|
-
default: "List the builds for the current project"
|
|
602
|
+
describe: "List the project's builds"
|
|
647
603
|
logs:
|
|
648
|
-
describe: "Get execution logs for a serverless function within a project
|
|
604
|
+
describe: "Get execution logs for a serverless function within a project"
|
|
649
605
|
errors:
|
|
650
606
|
noProjectConfig: "No project detected. Run this command again from a project directory."
|
|
651
607
|
failedToFetchProjectDetails: "There was an error fetching project details"
|
|
@@ -678,9 +634,9 @@ en:
|
|
|
678
634
|
function:
|
|
679
635
|
describe: "App function name"
|
|
680
636
|
upload:
|
|
681
|
-
describe: "Upload your project files and create a new build
|
|
637
|
+
describe: "Upload your project files and create a new build"
|
|
682
638
|
examples:
|
|
683
|
-
default: "Upload a project
|
|
639
|
+
default: "Upload a project"
|
|
684
640
|
logs:
|
|
685
641
|
buildSucceeded: "Build #{{ buildId }} succeeded\n"
|
|
686
642
|
readyToGoLive: "🚀 Ready to take your project live?"
|
|
@@ -693,10 +649,13 @@ en:
|
|
|
693
649
|
describe: "Automatically create project if it does not exist"
|
|
694
650
|
message:
|
|
695
651
|
describe: "Add a message when you upload your project and create a build"
|
|
652
|
+
positionals:
|
|
653
|
+
path:
|
|
654
|
+
describe: "Path to a project folder"
|
|
696
655
|
watch:
|
|
697
|
-
describe: "Watch your local project for changes and automatically upload changed files to a new build in HubSpot
|
|
656
|
+
describe: "Watch your local project for changes and automatically upload changed files to a new build in HubSpot"
|
|
698
657
|
examples:
|
|
699
|
-
default: "
|
|
658
|
+
default: "Watch a project within the myProjectFolder folder"
|
|
700
659
|
logs:
|
|
701
660
|
processExited: "Stopping watcher..."
|
|
702
661
|
watchCancelledFromUi: "The watch process has been cancelled from the UI. Any changes made since cancelling have not been uploaded. To resume watching, rerun {{#yellow}}`hs project watch`{{/yellow}}."
|
|
@@ -706,6 +665,9 @@ en:
|
|
|
706
665
|
deleteFolderSucceeded: "Deleted folder \"{{ remotePath }}\""
|
|
707
666
|
watching: "Watcher is ready and watching \"{{ projectDir }}\". Any changes detected will be automatically uploaded."
|
|
708
667
|
previousStagingBuildCancelled: "Killed the previous watch process. Please try running `hs project watch` again"
|
|
668
|
+
positionals:
|
|
669
|
+
path:
|
|
670
|
+
describe: "Path to a project folder"
|
|
709
671
|
options:
|
|
710
672
|
initialUpload:
|
|
711
673
|
describe: "Upload directory before watching for updates"
|
|
@@ -722,7 +684,7 @@ en:
|
|
|
722
684
|
deleteFileFailed: "Failed to delete file \"{{ remotePath }}\""
|
|
723
685
|
deleteFolderFailed: "Failed to delete folder \"{{ remotePath }}\""
|
|
724
686
|
download:
|
|
725
|
-
describe: "Download your project files from HubSpot
|
|
687
|
+
describe: "Download your project files from HubSpot and write to a path on your computer"
|
|
726
688
|
examples:
|
|
727
689
|
default: "Download the project myProject into myProjectFolder folder"
|
|
728
690
|
logs:
|
|
@@ -734,14 +696,14 @@ en:
|
|
|
734
696
|
warnings:
|
|
735
697
|
cannotDownloadWithinProject: "Cancelling project download. Please run the command again outside the context of an existing project."
|
|
736
698
|
options:
|
|
737
|
-
|
|
738
|
-
describe: "The build to download"
|
|
699
|
+
buildNumber:
|
|
700
|
+
describe: "The build number to download"
|
|
739
701
|
project:
|
|
740
702
|
describe: "The name of the project to download"
|
|
741
703
|
dest:
|
|
742
704
|
describe: "Destination folder for the project"
|
|
743
705
|
open:
|
|
744
|
-
describe: "Open the project's details page in the browser
|
|
706
|
+
describe: "Open the specified project's details page in the browser"
|
|
745
707
|
options:
|
|
746
708
|
project:
|
|
747
709
|
describe: "Name of project to open"
|
|
@@ -749,7 +711,7 @@ en:
|
|
|
749
711
|
default: "Opens the projects page for the specified account"
|
|
750
712
|
success: "Successfully opened \"{{ projectName }}\""
|
|
751
713
|
feedback:
|
|
752
|
-
describe: "Leave feedback on HubSpot projects or file a bug report
|
|
714
|
+
describe: "Leave feedback on HubSpot projects or file a bug report"
|
|
753
715
|
feedbackType:
|
|
754
716
|
prompt: "What type of feedback would you like to leave?"
|
|
755
717
|
bug: "[--bug] Report a bug"
|
|
@@ -763,7 +725,7 @@ en:
|
|
|
763
725
|
describe: "Open Github issues in your browser to give feedback."
|
|
764
726
|
installDeps:
|
|
765
727
|
help:
|
|
766
|
-
describe: "Install the dependencies for your project, or add a dependency to a subcomponent of a project
|
|
728
|
+
describe: "Install the dependencies for your project, or add a dependency to a subcomponent of a project"
|
|
767
729
|
installAppDepsExample: "Install the dependencies for the project"
|
|
768
730
|
addDepToSubComponentExample: "Install the dependencies to one or more project subcomponents"
|
|
769
731
|
installLocationPrompt: "Choose the project components to install the dependencies:"
|
|
@@ -784,19 +746,18 @@ en:
|
|
|
784
746
|
path:
|
|
785
747
|
describe: "Remote hubspot path"
|
|
786
748
|
sandbox:
|
|
787
|
-
describe: "Commands for
|
|
749
|
+
describe: "Commands for working with sandboxes."
|
|
788
750
|
subcommands:
|
|
789
751
|
create:
|
|
790
|
-
describe: "Create a sandbox account
|
|
752
|
+
describe: "Create a sandbox account"
|
|
791
753
|
examples:
|
|
792
754
|
default: "Creates a standard sandbox account named MySandboxAccount."
|
|
755
|
+
force: "Skips all confirmation prompts when creating a sandbox account."
|
|
793
756
|
debug:
|
|
794
757
|
error: "Error creating sandbox:"
|
|
795
758
|
info:
|
|
796
759
|
auth: "Run `hs auth` to authenticate with the new sandbox account."
|
|
797
760
|
options:
|
|
798
|
-
force:
|
|
799
|
-
describe: "Skips all confirmation prompts when creating a sandbox account."
|
|
800
761
|
name:
|
|
801
762
|
describe: "Name to use for created sandbox"
|
|
802
763
|
type:
|
|
@@ -809,12 +770,13 @@ en:
|
|
|
809
770
|
\n- Run {{#bold}}hs accounts use{{/bold}} to switch to your default account to your production account.
|
|
810
771
|
\n- Run {{#bold}}hs auth{{/bold}} to connect a production account to the HubSpot CLI.\n"
|
|
811
772
|
delete:
|
|
812
|
-
describe: "Delete a sandbox account
|
|
773
|
+
describe: "Delete a sandbox account"
|
|
813
774
|
debug:
|
|
814
775
|
deleting: "Deleting sandbox account \"{{ account }}\""
|
|
815
776
|
error: "Error deleting sandbox account:"
|
|
816
777
|
examples:
|
|
817
778
|
default: "Deletes the sandbox account named MySandboxAccount."
|
|
779
|
+
force: "Skips all confirmation prompts when deleting a sandbox account."
|
|
818
780
|
confirm: "Delete sandbox {{#bold}}{{ account }}{{/bold}}? All data for this sandbox will be permanently deleted."
|
|
819
781
|
defaultAccountWarning: "The sandbox {{#bold}}{{ account }}{{/bold}} is currently set as the default account."
|
|
820
782
|
success:
|
|
@@ -830,47 +792,38 @@ en:
|
|
|
830
792
|
noParentPortalAvailable: "This sandbox can't be deleted from the CLI because you haven't given the CLI access to its parent account. To do this, run {{#bold}}{{ command }}{{/bold}}. You can also delete the sandbox from the HubSpot management tool: {{#bold}}{{ url }}{{/bold}}."
|
|
831
793
|
invalidKey: "Your personal access key for account {{#bold}}{{ account }}{{/bold}} is inactive. To re-authenticate, please run {{#bold}}hs auth personalaccesskey{{/bold}}."
|
|
832
794
|
options:
|
|
833
|
-
force:
|
|
834
|
-
describe: "Skips all confirmation prompts when deleting a sandbox account."
|
|
835
795
|
account:
|
|
836
796
|
describe: "Account name or id to delete"
|
|
837
|
-
|
|
838
|
-
describe: "
|
|
797
|
+
secrets:
|
|
798
|
+
describe: "Manage HubSpot secrets."
|
|
839
799
|
subcommands:
|
|
840
800
|
add:
|
|
841
|
-
describe: "
|
|
801
|
+
describe: "Add a HubSpot secret"
|
|
842
802
|
errors:
|
|
843
803
|
add: "The secret \"{{ secretName }}\" was not added"
|
|
844
|
-
alreadyExists: "The secret \"{{ secretName }}\" already exists, it's value can be modified with {{ command }}"
|
|
845
804
|
positionals:
|
|
846
805
|
name:
|
|
847
806
|
describe: "Name of the secret"
|
|
848
807
|
success:
|
|
849
808
|
add: "The secret \"{{ secretName }}\" was added to the HubSpot account: {{ accountIdentifier }}"
|
|
850
809
|
delete:
|
|
851
|
-
describe: "Delete a secret
|
|
852
|
-
selectSecret: "Select the secret you want to delete"
|
|
853
|
-
deleteCanceled: "Delete canceled"
|
|
854
|
-
confirmDelete: "Are you sure you want to delete the secret \"{{ secretName }}\"?"
|
|
810
|
+
describe: "Delete a HubSpot secret"
|
|
855
811
|
errors:
|
|
856
812
|
delete: "The secret \"{{ secretName }}\" was not deleted"
|
|
857
|
-
noSecret: "Unable to delete secret with name \"{{ secretName }}\", it does not exist"
|
|
858
813
|
positionals:
|
|
859
814
|
name:
|
|
860
815
|
describe: "Name of the secret"
|
|
861
816
|
success:
|
|
862
817
|
delete: "The secret \"{{ secretName }}\" was deleted from the HubSpot account: {{ accountIdentifier }}"
|
|
863
818
|
list:
|
|
864
|
-
describe: "List all secrets
|
|
819
|
+
describe: "List all HubSpot secrets"
|
|
865
820
|
errors:
|
|
866
821
|
list: "The secrets could not be listed"
|
|
867
822
|
groupLabel: "Secrets for account {{ accountIdentifier }}:"
|
|
868
823
|
update:
|
|
869
|
-
describe: "Update an existing secret
|
|
870
|
-
selectSecret: "Select the secret you want to update"
|
|
824
|
+
describe: "Update an existing HubSpot secret"
|
|
871
825
|
errors:
|
|
872
826
|
update: "The secret \"{{ secretName }}\" was not updated"
|
|
873
|
-
noSecret: "Unable to update secret with name \"{{ secretName }}\", it does not exist"
|
|
874
827
|
positionals:
|
|
875
828
|
name:
|
|
876
829
|
describe: "Name of the secret to be updated"
|
|
@@ -878,7 +831,7 @@ en:
|
|
|
878
831
|
update: "The secret \"{{ secretName }}\" was updated in the HubSpot account: {{ accountIdentifier }}"
|
|
879
832
|
updateExplanation: "Existing serverless functions will start using this new value within 10 seconds."
|
|
880
833
|
theme:
|
|
881
|
-
describe: "Commands for
|
|
834
|
+
describe: "Commands for working with themes, including marketplace validation with the marketplace-validate subcommand."
|
|
882
835
|
subcommands:
|
|
883
836
|
generateSelectors:
|
|
884
837
|
describe: "Automatically generates an editor-preview.json file for the given theme. The selectors this command generates are not perfect, so please edit editor-preview.json after running."
|
|
@@ -888,10 +841,10 @@ en:
|
|
|
888
841
|
noSelectorsFound: "No selectors found."
|
|
889
842
|
success: "Selectors generated for {{ themePath }}, please double check the selectors generated at {{ selectorsPath }} before uploading the theme."
|
|
890
843
|
positionals:
|
|
891
|
-
|
|
844
|
+
themePath:
|
|
892
845
|
describe: "The path of the theme you'd like to generate an editor-preview.json for."
|
|
893
846
|
marketplaceValidate:
|
|
894
|
-
describe: "Validate a theme for the marketplace
|
|
847
|
+
describe: "Validate a theme for the marketplace"
|
|
895
848
|
errors:
|
|
896
849
|
invalidPath: "The path \"{{ path }}\" is not a path to a folder in the Design Manager"
|
|
897
850
|
logs:
|
|
@@ -904,19 +857,18 @@ en:
|
|
|
904
857
|
lineNumber: "Line number: {{ line }}"
|
|
905
858
|
noErrors: "No errors"
|
|
906
859
|
positionals:
|
|
907
|
-
|
|
860
|
+
src:
|
|
908
861
|
describe: "Path to the theme within the Design Manager."
|
|
909
862
|
preview:
|
|
910
|
-
describe: "Upload and watch a theme directory on your computer for changes and start a local development server to preview theme changes on a site
|
|
863
|
+
describe: "Upload and watch a theme directory on your computer for changes and start a local development server to preview theme changes on a site"
|
|
911
864
|
errors:
|
|
912
865
|
invalidPath: "The path \"{{ path }}\" is not a path to a directory"
|
|
913
866
|
noThemeComponents: "Your project has no theme components available to preview."
|
|
914
|
-
|
|
867
|
+
options:
|
|
915
868
|
src:
|
|
916
869
|
describe: "Path to the local directory your theme is in, relative to your current working directory"
|
|
917
870
|
dest:
|
|
918
871
|
describe: "Path in HubSpot Design Tools. Can be a net new path. If you wish to preview a site page using your theme changes it must match the path of the theme used by the site."
|
|
919
|
-
options:
|
|
920
872
|
notify:
|
|
921
873
|
describe: "Log to specified file when a watch task is triggered and after workers have gone idle. Ex. --notify path/to/file"
|
|
922
874
|
noSsl:
|
|
@@ -1015,7 +967,7 @@ en:
|
|
|
1015
967
|
initialUpload: "To upload the directory run \"hs upload\" beforehand or add the \"--initial-upload\" option when running \"hs watch\"."
|
|
1016
968
|
notUploaded: "The \"hs watch\" command no longer uploads the watched directory when started. The directory \"{{ path }}\" was not uploaded."
|
|
1017
969
|
convertFields:
|
|
1018
|
-
describe: "Converts a specific JavaScript fields file of a module or theme to JSON
|
|
970
|
+
describe: "Converts a specific JavaScript fields file of a module or theme to JSON"
|
|
1019
971
|
positionals:
|
|
1020
972
|
src:
|
|
1021
973
|
describe: Path to JS Fields file or directory containing javascript fields files.
|
|
@@ -1093,6 +1045,8 @@ en:
|
|
|
1093
1045
|
checkIfParentAccountIsAuthed:
|
|
1094
1046
|
notAuthedError: "To develop this project locally, run {{ authCommand }} to authenticate the App Developer Account {{ accountId }} associated with {{ accountIdentifier }}."
|
|
1095
1047
|
projects:
|
|
1048
|
+
config:
|
|
1049
|
+
srcOutsideProjectDir: "Invalid value for 'srcDir' in {{ projectConfig }}: {{#bold}}srcDir: \"{{ srcDir }}\"{{/bold}}\n\t'srcDir' must be a relative path to a folder under the project root, such as \".\" or \"./src\""
|
|
1096
1050
|
uploadProjectFiles:
|
|
1097
1051
|
add: "Uploading {{#bold}}{{ projectName }}{{/bold}} project files to {{ accountIdentifier }}"
|
|
1098
1052
|
fail: "Failed to upload {{#bold}}{{ projectName }}{{/bold}} project files to {{ accountIdentifier }}"
|
|
@@ -1103,11 +1057,6 @@ en:
|
|
|
1103
1057
|
compressed: "Project files compressed: {{ byteCount }} bytes"
|
|
1104
1058
|
compressing: "Compressing build files to \"{{ path }}\""
|
|
1105
1059
|
fileFiltered: "Ignore rule triggered for \"{{ filename }}\""
|
|
1106
|
-
validateProjectConfig:
|
|
1107
|
-
configNotFound: "Unable to locate a project configuration file. Try running again from a project directory, or run {{ createCommand }} to create a new project."
|
|
1108
|
-
configMissingFields: "The project configuruation file is missing required fields."
|
|
1109
|
-
srcDirNotFound: "Project source directory {{#bold}}{{ srcDir }}{{/bold}} could not be found in {{#bold}}{{ projectDir }}{{/bold}}."
|
|
1110
|
-
srcOutsideProjectDir: "Invalid value for 'srcDir' in {{ projectConfig }}: {{#bold}}srcDir: \"{{ srcDir }}\"{{/bold}}\n\t'srcDir' must be a relative path to a folder under the project root, such as \".\" or \"./src\""
|
|
1111
1060
|
ensureProjectExists:
|
|
1112
1061
|
createPrompt: "The project {{ projectName }} does not exist in {{ accountIdentifier }}. Would you like to create it?"
|
|
1113
1062
|
createPromptUpload: "[--forceCreate] The project {{ projectName }} does not exist in {{ accountIdentifier }}. Would you like to create it?"
|
|
@@ -1197,8 +1146,8 @@ en:
|
|
|
1197
1146
|
noLogsFound: "No logs found."
|
|
1198
1147
|
commonOpts:
|
|
1199
1148
|
options:
|
|
1200
|
-
|
|
1201
|
-
describe: "HubSpot
|
|
1149
|
+
portal:
|
|
1150
|
+
describe: "HubSpot portal id or name from config"
|
|
1202
1151
|
config:
|
|
1203
1152
|
describe: "Path to a config file"
|
|
1204
1153
|
overwrite:
|
|
@@ -1212,8 +1161,6 @@ en:
|
|
|
1212
1161
|
describe: "Run command in QA mode"
|
|
1213
1162
|
useEnv:
|
|
1214
1163
|
describe: "Use environment variable config"
|
|
1215
|
-
debug:
|
|
1216
|
-
describe: "Set log level to debug"
|
|
1217
1164
|
prompts:
|
|
1218
1165
|
projectDevTargetAccountPrompt:
|
|
1219
1166
|
createNewSandboxOption: "<Test on a new development sandbox>"
|
|
@@ -1270,7 +1217,6 @@ en:
|
|
|
1270
1217
|
selectReactType: "Is this a React module?"
|
|
1271
1218
|
selectContentType: "What types of content will this module be used in?"
|
|
1272
1219
|
confirmGlobal: "Is this a global module?"
|
|
1273
|
-
availableForNewContent: "Make this module available for new content?"
|
|
1274
1220
|
errors:
|
|
1275
1221
|
invalidLabel: "You entered an invalid name. Please try again."
|
|
1276
1222
|
labelRequired: "The name may not be blank. Please try again."
|
|
@@ -1292,12 +1238,12 @@ en:
|
|
|
1292
1238
|
languageRequired: "Please select API sample app's language"
|
|
1293
1239
|
createProjectPrompt:
|
|
1294
1240
|
enterName: "[--name] Give your project a name: "
|
|
1295
|
-
|
|
1241
|
+
enterLocation: "[--location] Enter the folder to create the project in:"
|
|
1296
1242
|
selectTemplate: "[--template] Choose a project template: "
|
|
1297
1243
|
errors:
|
|
1298
1244
|
nameRequired: "A project name is required"
|
|
1299
|
-
|
|
1300
|
-
|
|
1245
|
+
locationRequired: "A project location is required"
|
|
1246
|
+
invalidLocation: "The selected destination already exists. Please provide a new path for this project."
|
|
1301
1247
|
invalidCharacters: "The selected destination contains invalid characters. Please provide a new path and try again."
|
|
1302
1248
|
invalidTemplate: "[--template] Could not find template {{ template }}. Please choose an available template."
|
|
1303
1249
|
noProjectsInConfig: "Please ensure that there is a config.json file that contains a \"projects\" field."
|
|
@@ -1324,9 +1270,6 @@ en:
|
|
|
1324
1270
|
invalidType: "[--type] Could not find type {{ type }}. Please choose an available type."
|
|
1325
1271
|
secretPrompt:
|
|
1326
1272
|
enterValue: "Enter a value for your secret: "
|
|
1327
|
-
enterName: "Enter a name for your secret: "
|
|
1328
|
-
selectSecretUpdate: "Select the secret you want to update"
|
|
1329
|
-
selectSecretDelete: "Select the secret you want to delete"
|
|
1330
1273
|
errors:
|
|
1331
1274
|
invalidValue: "You entered an invalid value. Please try again."
|
|
1332
1275
|
sandboxesPrompt:
|
|
@@ -1337,8 +1280,8 @@ en:
|
|
|
1337
1280
|
developer: "Development sandbox (Includes production's object definitions)"
|
|
1338
1281
|
standard: "Standard sandbox (Includes partial copy of production's assets)"
|
|
1339
1282
|
uploadPrompt:
|
|
1340
|
-
enterDest: "Enter the destination path: "
|
|
1341
|
-
enterSrc: "Enter the source path: "
|
|
1283
|
+
enterDest: "[--dest] Enter the destination path: "
|
|
1284
|
+
enterSrc: "[--src] Enter the source path: "
|
|
1342
1285
|
errors:
|
|
1343
1286
|
srcRequired: "You must specify a source directory."
|
|
1344
1287
|
destRequired: "You must specify a destination directory."
|
|
@@ -1363,15 +1306,6 @@ en:
|
|
|
1363
1306
|
prompt: "Open hubspot.com to install this app?"
|
|
1364
1307
|
reinstallPrompt: "Open hubspot.com to reinstall this app?"
|
|
1365
1308
|
decline: "To continue local development of this app, install it in your target test account and re-run {{#bold}}`hs project dev`{{/bold}}"
|
|
1366
|
-
selectHubDBTablePrompt:
|
|
1367
|
-
selectTable: "Select a HubDB table:"
|
|
1368
|
-
enterDest: "Enter the destination path:"
|
|
1369
|
-
errors:
|
|
1370
|
-
noTables: "No HubDB tables found in account {{ accountId }}"
|
|
1371
|
-
errorFetchingTables: "Unable to fetch HubDB tables in account {{ accountId }}"
|
|
1372
|
-
destRequired: "A destination is required"
|
|
1373
|
-
invalidDest: "The selected destination already exists. Please provide a new path."
|
|
1374
|
-
invalidCharacters: "The selected destination contains invalid characters. Please provide a new path and try again."
|
|
1375
1309
|
convertFields:
|
|
1376
1310
|
positionals:
|
|
1377
1311
|
src:
|