@hubspot/cli 5.2.1-beta.2 → 5.2.1-beta.4
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 +1 -1
- package/commands/accounts/clean.js +3 -3
- package/commands/accounts/info.js +1 -1
- package/commands/accounts/list.js +1 -1
- package/commands/accounts/remove.js +1 -1
- package/commands/accounts/rename.js +1 -1
- package/commands/accounts/use.js +1 -1
- package/commands/accounts.js +1 -1
- package/commands/auth.js +3 -3
- package/commands/cms/convertFields.js +1 -1
- package/commands/cms/lighthouseScore.js +1 -1
- package/commands/cms/reactModules.js +1 -1
- package/commands/cms.js +1 -1
- package/commands/config/set/allowUsageTracking.js +1 -2
- package/commands/config/set/defaultMode.js +1 -1
- package/commands/config/set/httpTimeout.js +1 -1
- package/commands/config/set.js +1 -1
- package/commands/config.js +1 -1
- package/commands/create/api-sample.js +1 -1
- package/commands/create/module.js +1 -1
- package/commands/create/template.js +1 -1
- package/commands/create.js +1 -1
- package/commands/customObject/create.js +1 -1
- package/commands/customObject/schema/create.js +1 -2
- package/commands/customObject/schema/delete.js +1 -2
- package/commands/customObject/schema/fetch-all.js +1 -2
- package/commands/customObject/schema/fetch.js +1 -2
- package/commands/customObject/schema/list.js +1 -1
- package/commands/customObject/schema/update.js +1 -2
- package/commands/customObject/schema.js +1 -1
- package/commands/customObject.js +1 -1
- package/commands/feedback.js +1 -1
- package/commands/fetch.js +1 -1
- package/commands/filemanager/fetch.js +1 -1
- package/commands/filemanager/upload.js +1 -1
- package/commands/filemanager.js +1 -1
- package/commands/functions/deploy.js +1 -1
- package/commands/functions/list.js +1 -1
- package/commands/functions/server.js +1 -1
- package/commands/functions.js +1 -1
- package/commands/hubdb/clear.js +1 -1
- package/commands/hubdb/create.js +1 -1
- package/commands/hubdb/delete.js +1 -1
- package/commands/hubdb/fetch.js +1 -1
- package/commands/hubdb.js +1 -1
- package/commands/init.js +1 -1
- package/commands/lint.js +1 -1
- package/commands/list.js +1 -1
- package/commands/logs.js +1 -1
- package/commands/module/marketplace-validate.js +1 -1
- package/commands/module.js +1 -1
- package/commands/mv.js +1 -1
- package/commands/open.js +1 -1
- package/commands/project/add.js +1 -1
- package/commands/project/create.js +1 -1
- package/commands/project/deploy.js +1 -1
- package/commands/project/dev.js +37 -19
- package/commands/project/download.js +9 -5
- package/commands/project/listBuilds.js +1 -1
- package/commands/project/logs.js +1 -1
- package/commands/project/open.js +8 -4
- package/commands/project/upload.js +1 -1
- package/commands/project/watch.js +1 -1
- package/commands/project.js +1 -1
- package/commands/remove.js +1 -1
- package/commands/sandbox/create.js +4 -4
- package/commands/sandbox/delete.js +1 -1
- package/commands/sandbox/sync.js +2 -2
- package/commands/sandbox.js +1 -1
- package/commands/secrets/addSecret.js +1 -1
- package/commands/secrets/deleteSecret.js +1 -1
- package/commands/secrets/listSecrets.js +1 -1
- package/commands/secrets/updateSecret.js +1 -1
- package/commands/secrets.js +1 -1
- package/commands/theme/generate-selectors.js +1 -1
- package/commands/theme/marketplace-validate.js +1 -1
- package/commands/theme/preview.js +2 -2
- package/commands/theme.js +1 -1
- package/commands/upload.js +1 -1
- package/commands/watch.js +1 -1
- package/lang/en.lyaml +1378 -1374
- package/lib/DevServerManager.js +3 -2
- package/lib/LocalDevManager.js +89 -5
- package/lib/commonOpts.js +1 -1
- package/lib/developerTestAccountCreate.js +4 -5
- package/lib/developerTestAccounts.js +1 -1
- package/lib/errorHandlers/apiErrors.js +1 -1
- package/lib/errorHandlers/overrideErrors.js +1 -1
- package/lib/errorHandlers/standardErrors.js +1 -1
- package/lib/generate-selectors.js +1 -1
- package/lib/localDev.js +8 -12
- package/lib/process.js +1 -1
- package/lib/projects.js +6 -6
- package/lib/projectsWatch.js +1 -1
- package/lib/prompts/accountsPrompt.js +1 -1
- package/lib/prompts/buildIdPrompt.js +1 -1
- package/lib/prompts/cleanUploadPrompt.js +1 -1
- package/lib/prompts/cmsFieldPrompt.js +1 -1
- package/lib/prompts/createApiSamplePrompt.js +1 -1
- package/lib/prompts/createFunctionPrompt.js +1 -1
- package/lib/prompts/createModulePrompt.js +1 -1
- package/lib/prompts/createProjectPrompt.js +1 -1
- package/lib/prompts/createTemplatePrompt.js +1 -1
- package/lib/prompts/developerTestAccountNamePrompt.js +1 -1
- package/lib/prompts/downloadProjectPrompt.js +1 -1
- package/lib/prompts/enterAccountNamePrompt.js +1 -1
- package/lib/prompts/feedbackPrompt.js +1 -1
- package/lib/prompts/folderOverwritePrompt.js +1 -1
- package/lib/prompts/installPublicAppPrompt.js +42 -0
- package/lib/prompts/personalAccessKeyPrompt.js +1 -1
- package/lib/prompts/previewPrompt.js +1 -1
- package/lib/prompts/projectAddPrompt.js +1 -1
- package/lib/prompts/projectDevTargetAccountPrompt.js +1 -1
- package/lib/prompts/projectNamePrompt.js +2 -2
- package/lib/prompts/projectsLogsPrompt.js +1 -1
- package/lib/prompts/sandboxesPrompt.js +1 -1
- package/lib/prompts/secretPrompt.js +1 -1
- package/lib/prompts/setAsDefaultAccountPrompt.js +1 -1
- package/lib/prompts/uploadPrompt.js +1 -1
- package/lib/sandboxCreate.js +4 -5
- package/lib/sandboxSync.js +1 -1
- package/lib/sandboxes.js +7 -9
- package/lib/ui/git.js +1 -1
- package/lib/ui/index.js +2 -2
- package/lib/ui/serverlessFunctionLogs.js +1 -1
- package/package.json +6 -6
package/lang/en.lyaml
CHANGED
|
@@ -1,1402 +1,1406 @@
|
|
|
1
1
|
en:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
accounts
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
use
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
describe: "Remove an account from the config."
|
|
44
|
-
logs:
|
|
45
|
-
replaceDefaultAccount: "The removed account was the default account."
|
|
46
|
-
prompts:
|
|
47
|
-
selectAccountToRemove: "Select an account to remove from the config"
|
|
48
|
-
errors:
|
|
49
|
-
accountNotFound: "The account \"{{ specifiedAccount }}\" could not be found in {{ configPath }}"
|
|
50
|
-
examples:
|
|
51
|
-
default: "Select a HubSpot account to remove from the config"
|
|
52
|
-
byName: "Remove the account \"MyAccount\" from the config"
|
|
53
|
-
options:
|
|
54
|
-
account:
|
|
55
|
-
describe: "Account name or id to remove"
|
|
56
|
-
promptMessage: "Select an account to remove"
|
|
57
|
-
success:
|
|
58
|
-
accountRemoved: "Account \"{{ accountName }}\" removed from the config"
|
|
59
|
-
info:
|
|
60
|
-
accountId: "{{#bold}}Account ID{{/bold}}: {{ accountId }}"
|
|
61
|
-
describe: "Print information about the default account, or about the account specified with the \"--account\" option."
|
|
62
|
-
errors:
|
|
63
|
-
notUsingPersonalAccessKey: "This command currently only supports fetching scopes for the personal access key auth type."
|
|
64
|
-
examples:
|
|
65
|
-
default: "Print information for the default account"
|
|
66
|
-
idBased: "Print information for the account with accountId equal to \"1234567\""
|
|
67
|
-
nameBased: "Print information for the account in the config with name equal to \"MyAccount\""
|
|
68
|
-
name: "{{#bold}}Account name{{/bold}}: {{ name }}"
|
|
69
|
-
scopeGroups: "{{#bold}}Scopes available{{/bold}}:"
|
|
70
|
-
clean:
|
|
71
|
-
describe: "Checks for inactive accounts and removes them from the CLI config"
|
|
72
|
-
noResults: "No inactive accounts found to remove."
|
|
73
|
-
loading:
|
|
74
|
-
add: "Looking for inactive accounts…"
|
|
75
|
-
inactiveAccountsFound:
|
|
76
|
-
one: "1 inactive account found:"
|
|
77
|
-
other: "{{ count }} inactive accounts found:"
|
|
78
|
-
confirm:
|
|
79
|
-
one: "Remove 1 inactive account from the CLI config?"
|
|
80
|
-
other: "Remove {{ count }} inactive accounts from the CLI config?"
|
|
81
|
-
removeSuccess: "Removed {{ accountName }} from the CLI config."
|
|
82
|
-
auth:
|
|
83
|
-
describe: "Configure authentication for a HubSpot account. Supported authentication protocols are {{ supportedProtocols }}."
|
|
84
|
-
errors:
|
|
85
|
-
noConfigFileFound: "No config file was found. To create a new config file, use the \"hs init\" command."
|
|
86
|
-
unsupportedAuthType: "Unsupported auth type: {{ type }}. The only supported authentication protocols are {{ supportedProtocols }}."
|
|
87
|
-
positionals:
|
|
88
|
-
type:
|
|
89
|
-
describe: "Authentication mechanism"
|
|
90
|
-
defaultDescription: "\"{{ authMethod }}\": \nAn access token tied to a specific user account. This is the recommended way of authenticating with local development tools."
|
|
91
|
-
options:
|
|
92
|
-
account:
|
|
93
|
-
describe: "HubSpot account to authenticate"
|
|
94
|
-
success:
|
|
95
|
-
configFileUpdated: "Account \"{{ accountName }}\" updated in {{ configFilename }} using \"{{ authType }}\""
|
|
96
|
-
config:
|
|
97
|
-
describe: "Commands for working with the config file."
|
|
98
|
-
subcommands:
|
|
99
|
-
set:
|
|
100
|
-
describe: "Commands for modifying the CLI configuration"
|
|
101
|
-
promptMessage: "Select a config option to update"
|
|
102
|
-
examples:
|
|
103
|
-
default: "Opens a prompt to select a config item to modify"
|
|
104
|
-
options:
|
|
105
|
-
defaultMode:
|
|
106
|
-
describe: "Set the default mode"
|
|
107
|
-
promptMessage: "Select mode to be used as the default"
|
|
108
|
-
error: "The mode \"{{ mode }}\" is invalid. Valid values are {{ validModes }}."
|
|
109
|
-
success: "Default mode updated to: {{ mode }}"
|
|
110
|
-
allowUsageTracking:
|
|
111
|
-
describe: "Enable or disable usage tracking"
|
|
112
|
-
promptMessage: "Choose to enable or disable usage tracking"
|
|
113
|
-
success: "Allow usage tracking set to: \"{{ isEnabled }}\""
|
|
114
|
-
labels:
|
|
115
|
-
enabled: "Enabled"
|
|
116
|
-
disabled: "Disabled"
|
|
117
|
-
httpTimeout:
|
|
118
|
-
describe: "Set the http timeout duration"
|
|
119
|
-
promptMessage: "Enter http timeout duration"
|
|
120
|
-
success: "The http timeout has been set to: {{ timeout }}"
|
|
121
|
-
cms:
|
|
122
|
-
describe: "Commands for working with the CMS."
|
|
123
|
-
subcommands:
|
|
124
|
-
lighthouseScore:
|
|
125
|
-
describe: "Score a theme using Google lighthouse."
|
|
126
|
-
examples:
|
|
127
|
-
default: "Get the lighthouse score for the my-theme theme"
|
|
128
|
-
info:
|
|
129
|
-
promptMessage: "Select a theme to score"
|
|
130
|
-
fetchingThemes: "Fetching available themes"
|
|
131
|
-
generatingScore: "Generating Google Lighthouse score for {{ theme }}"
|
|
132
|
-
targetDeviceNote: "Scores are being shown for {{ target }} only."
|
|
133
|
-
verboseOptionNote: "Theme scores are averages of all theme templates. Use the [--verbose] option to include individual template scores."
|
|
134
|
-
pageTemplateScoreTitle: "Page template scores"
|
|
135
|
-
lighthouseLinksTitle: "Lighthouse links"
|
|
136
|
-
failedTemplatePathsTitle: "The following templates could not be scored"
|
|
137
|
-
errors:
|
|
138
|
-
targetOptionRequired: "[--target] is required for detailed view"
|
|
139
|
-
invalidTargetOption: "[--target] can only be used for detailed view"
|
|
140
|
-
themeNotFound: "Theme \"{{ theme }}\" not found. Please rerun using a valid theme path."
|
|
141
|
-
failedToFetchThemes: "Failed to fetch available themes. Try running again with the [--theme] option"
|
|
142
|
-
failedToGetLighthouseScore: "Failed to generate a Google Lighthouse score"
|
|
143
|
-
options:
|
|
144
|
-
theme:
|
|
145
|
-
describe: "Path to the theme in the Design Manager"
|
|
146
|
-
target:
|
|
147
|
-
describe: "Medium to test against"
|
|
148
|
-
verbose:
|
|
149
|
-
describe: "View a detailed output of the lighthouse sores"
|
|
150
|
-
reactModule:
|
|
151
|
-
describe: "Get a specified default React module"
|
|
152
|
-
options:
|
|
153
|
-
name:
|
|
154
|
-
describe: "Name of the react modules to be fetched"
|
|
155
|
-
dest:
|
|
156
|
-
describe: "Destination to download the react module to"
|
|
157
|
-
success:
|
|
158
|
-
moduleDownloaded: "\"{{ moduleName }}\" succesfully downloaded to \"{{ path }}\""
|
|
159
|
-
errors:
|
|
160
|
-
pathExists: "Folder already exists at \"{{ path }}\""
|
|
161
|
-
invalidName: "Module not found with that name, please check the spelling of the module you are trying to download."
|
|
162
|
-
groupLabel: "React modules available to download:"
|
|
163
|
-
create:
|
|
164
|
-
describe: "Create HubSpot sample apps and CMS assets. Supported assets are {{ supportedAssetTypes }}."
|
|
165
|
-
errors:
|
|
166
|
-
deprecatedAssetType: "The CLI command for asset type {{ assetType }} has been deprecated in an effort to make it easier to know what asset types can be created. Run the \"{{ newCommand }}\" command instead. Then when prompted select \"{{ type }}\"."
|
|
167
|
-
unsupportedAssetType: "The asset type {{ assetType }} is not supported. Supported asset types are {{ supportedAssetTypes }}."
|
|
168
|
-
unusablePath: "The \"{{ path }}\" is not a usable path to a directory."
|
|
169
|
-
positionals:
|
|
170
|
-
dest:
|
|
171
|
-
describe: "Destination folder for the new asset, relative to your current working directory. If omitted, this argument will default to your current working directory"
|
|
172
|
-
name:
|
|
173
|
-
describe: "Name of new asset"
|
|
174
|
-
type:
|
|
175
|
-
describe: "Type of asset"
|
|
176
|
-
subcommands:
|
|
177
|
-
apiSample:
|
|
178
|
-
errors:
|
|
179
|
-
nameRequired: "The \"name\" argument is required when creating an API Sample."
|
|
180
|
-
noSamples: "Currently there are no samples available, please, try again later."
|
|
181
|
-
info:
|
|
182
|
-
sampleChosen: "You've chosen {{ sampleType }} sample written on {{ sampleLanguage }} language"
|
|
183
|
-
loading:
|
|
184
|
-
apiSamples: "Loading available API samples"
|
|
185
|
-
success:
|
|
186
|
-
sampleCreated: "Please, follow {{ filePath }}/README.md to find out how to run the sample"
|
|
187
|
-
module:
|
|
188
|
-
errors:
|
|
189
|
-
nameRequired: "The \"name\" argument is required when creating a Custom Module."
|
|
190
|
-
template:
|
|
191
|
-
errors:
|
|
192
|
-
nameRequired: "The \"name\" argument is required when creating a Template."
|
|
193
|
-
customObject:
|
|
194
|
-
betaMessage: "The Custom Object CLI is currently in beta and is subject to change."
|
|
195
|
-
describe: "Manage Custom Objects. This feature is currently in beta and the CLI contract is subject to change."
|
|
196
|
-
seeMoreLink: "View our docs to find out more."
|
|
197
|
-
subcommands:
|
|
198
|
-
create:
|
|
199
|
-
describe: "Create custom object instances"
|
|
200
|
-
errors:
|
|
201
|
-
creationFailed: "Object creation from {{ definition }} failed"
|
|
202
|
-
positionals:
|
|
203
|
-
definition:
|
|
204
|
-
describe: "Local path to the JSON file containing an array of object definitions"
|
|
205
|
-
name:
|
|
206
|
-
describe: "Schema name to add the object instance to"
|
|
207
|
-
success:
|
|
208
|
-
objectsCreated: "Objects created"
|
|
209
|
-
schema:
|
|
210
|
-
describe: "Manage custom object schemas"
|
|
211
|
-
subcommands:
|
|
212
|
-
create:
|
|
213
|
-
describe: "Create a custom object schema"
|
|
214
|
-
errors:
|
|
215
|
-
creationFailed: "Schema creation from {{ definition }} failed"
|
|
216
|
-
positionals:
|
|
217
|
-
definition:
|
|
218
|
-
describe: "Local path to the JSON file containing the schema definition"
|
|
219
|
-
success:
|
|
220
|
-
schemaCreated: "Your schema has been created in account \"{{ accountId }}\""
|
|
221
|
-
schemaViewable: "Schema can be viewed at {{ url }}"
|
|
222
|
-
delete:
|
|
223
|
-
describe: "Delete a custom object schema"
|
|
224
|
-
errors:
|
|
225
|
-
delete: "Unable to delete {{ name }}"
|
|
226
|
-
examples:
|
|
227
|
-
default: "Delete \"schemaName\" schema"
|
|
228
|
-
positionals:
|
|
229
|
-
name:
|
|
230
|
-
describe: "Name of the target schema"
|
|
231
|
-
success:
|
|
232
|
-
delete: "Successfully initiated deletion of {{ name }}"
|
|
233
|
-
fetchAll:
|
|
234
|
-
describe: "Fetch all custom object schemas for an account"
|
|
235
|
-
errors:
|
|
236
|
-
fetch: "Unable to fetch schemas"
|
|
237
|
-
examples:
|
|
238
|
-
default: "Fetch all schemas for an account and put them in the current working directory"
|
|
239
|
-
specifyPath: "Fetch all schemas for an account and put them in a directory named my/folder"
|
|
240
|
-
positionals:
|
|
241
|
-
dest:
|
|
242
|
-
describe: "Local folder where schemas will be written"
|
|
243
|
-
success:
|
|
244
|
-
fetch: "Saved schemas to {{ path }}"
|
|
245
|
-
fetch:
|
|
246
|
-
describe: "Fetch a custom object schema"
|
|
247
|
-
errors:
|
|
248
|
-
fetch: "Unable to fetch {{ name }}"
|
|
249
|
-
examples:
|
|
250
|
-
default: "Fetch \"schemaId\" schema and put it in the current working directory"
|
|
251
|
-
specifyPath: "Fetch \"schemaId\" schema and put it in a directory named my/folder"
|
|
252
|
-
positionals:
|
|
253
|
-
dest:
|
|
254
|
-
describe: "Local folder where schema will be written"
|
|
255
|
-
name:
|
|
256
|
-
describe: "Name of the target schema"
|
|
257
|
-
success:
|
|
258
|
-
save: "The schema \"{{ name }}\" has been saved to \"{{ path }}\""
|
|
259
|
-
savedToPath: "Saved schema to {{ path }}"
|
|
260
|
-
list:
|
|
261
|
-
describe: "List schemas available on your account"
|
|
262
|
-
errors:
|
|
263
|
-
list: "Unable to list schemas"
|
|
264
|
-
update:
|
|
265
|
-
describe: "Update an existing custom object schema"
|
|
266
|
-
errors:
|
|
267
|
-
update: "Schema update from {{ definition }} failed"
|
|
268
|
-
positionals:
|
|
269
|
-
definition:
|
|
270
|
-
describe: "Local path to the JSON file containing the schema definition"
|
|
271
|
-
name:
|
|
272
|
-
describe: "Name of the target schema"
|
|
273
|
-
success:
|
|
274
|
-
update: "Your schema has been updated in account \"{{ accountId }}\""
|
|
275
|
-
viewAtUrl: "Schema can be viewed at {{ url }}"
|
|
276
|
-
fetch:
|
|
277
|
-
describe: "Fetch a file, directory or module from HubSpot and write to a path on your computer."
|
|
278
|
-
errors:
|
|
279
|
-
sourceRequired: "A source to fetch is required."
|
|
280
|
-
options:
|
|
281
|
-
staging:
|
|
282
|
-
describe: "Retrieve staged changes for project"
|
|
283
|
-
assetVersion:
|
|
284
|
-
describe: "Specify what version of a default asset to fetch"
|
|
285
|
-
positionals:
|
|
286
|
-
dest:
|
|
287
|
-
describe: "Local directory you would like the files to be placed in, relative to your current working directory"
|
|
288
|
-
src:
|
|
289
|
-
describe: "Path in HubSpot Design Tools"
|
|
290
|
-
filemanager:
|
|
291
|
-
describe: "Commands for working with the File Manager."
|
|
292
|
-
subcommands:
|
|
293
|
-
fetch:
|
|
294
|
-
describe: "Download a folder or file from the HubSpot File Manager to your computer"
|
|
295
|
-
errors:
|
|
296
|
-
sourceRequired: "A source to fetch is required."
|
|
297
|
-
options:
|
|
298
|
-
includeArchived:
|
|
299
|
-
describe: "Include files that have been marked as \"archived\""
|
|
300
|
-
positionals:
|
|
301
|
-
dest:
|
|
302
|
-
describe: "Path in HubSpot Design Tools"
|
|
303
|
-
src:
|
|
304
|
-
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"
|
|
305
|
-
upload:
|
|
306
|
-
describe: "Upload a folder or file from your computer to the HubSpot File Manager"
|
|
307
|
-
errors:
|
|
308
|
-
destinationRequired: "A destination path needs to be passed"
|
|
309
|
-
fileIgnored: "The file \"{{ path }}\" is being ignored via an .hsignore rule"
|
|
310
|
-
invalidPath: "The path \"{{ path }}\" is not a path to a file or folder"
|
|
311
|
-
upload: "Uploading file \"{{ src }}\" to \"{{ dest }}\" failed"
|
|
312
|
-
uploadingFailed: "Uploading failed"
|
|
313
|
-
logs:
|
|
314
|
-
uploading: "Uploading files from \"{{ src }}\" to \"{{ dest }}\" in the File Manager of account {{ accountId }}"
|
|
315
|
-
positionals:
|
|
316
|
-
dest:
|
|
317
|
-
describe: "Path in HubSpot Design Tools, can be a net new path"
|
|
318
|
-
src:
|
|
319
|
-
describe: "Path to the local file, relative to your current working directory"
|
|
320
|
-
success:
|
|
321
|
-
upload: "Uploaded file from \"{{ src }}\" to \"{{ dest }}\" in the File Manager of account {{ accountId }}"
|
|
322
|
-
uploadComplete: "Uploading files to \"{{ dest }}\" in the File Manager is complete"
|
|
323
|
-
functions:
|
|
324
|
-
describe: "Commands for working with functions."
|
|
325
|
-
subcommands:
|
|
326
|
-
deploy:
|
|
327
|
-
debug:
|
|
328
|
-
startingBuildAndDeploy: "Starting build and deploy for .functions folder with path: {{ functionPath }}"
|
|
329
|
-
errors:
|
|
330
|
-
buildError: "Build error: {{ details }}"
|
|
331
|
-
noPackageJson: "Unable to find package.json for function {{ functionPath }}."
|
|
332
|
-
notFunctionsFolder: "Specified path {{ functionPath }} is not a .functions folder."
|
|
333
|
-
examples:
|
|
334
|
-
default: "Build and deploy a new bundle for all functions within the myFunctionFolder.functions folder"
|
|
335
|
-
loading: "Building and deploying bundle for \"{{ functionPath }}\" on account \"{{ accountId }}\".\n"
|
|
336
|
-
positionals:
|
|
337
|
-
path:
|
|
338
|
-
describe: "Path to .functions folder"
|
|
339
|
-
success:
|
|
340
|
-
deployed: "Built and deployed bundle from package.json for {{ functionPath }} on account {{ accountId }} in {{ buildTimeSeconds }}s."
|
|
341
|
-
list:
|
|
342
|
-
debug:
|
|
343
|
-
gettingFunctions: "Getting currently deployed functions"
|
|
344
|
-
describe: "List currently deployed functions"
|
|
345
|
-
info:
|
|
346
|
-
noFunctions: "No functions found"
|
|
347
|
-
options:
|
|
348
|
-
json:
|
|
349
|
-
describe: "output raw json data"
|
|
350
|
-
server:
|
|
351
|
-
debug:
|
|
352
|
-
startingServer: "Starting local test server for .functions folder with path: {{ functionPath }}"
|
|
353
|
-
examples:
|
|
354
|
-
default: "Run a local function test server."
|
|
355
|
-
options:
|
|
356
|
-
contact:
|
|
357
|
-
describe: "Pass contact data to the test function"
|
|
358
|
-
logOutput:
|
|
359
|
-
describe: "Output the response body from the serverless function execution (It is suggested not to use this in production environments as it can reveal any secure data returned by the function in logs)"
|
|
360
|
-
port:
|
|
361
|
-
describe: "Port to run the test server on"
|
|
362
|
-
watch:
|
|
363
|
-
describe: "Watch the specified .functions folder for changes and restart the server"
|
|
364
|
-
positionals:
|
|
365
|
-
path:
|
|
366
|
-
describe: "Path to local .functions folder"
|
|
367
|
-
hubdb:
|
|
368
|
-
describe: "Manage HubDB tables."
|
|
369
|
-
subcommands:
|
|
370
|
-
clear:
|
|
371
|
-
describe: "Clear all rows in a HubDB table"
|
|
372
|
-
logs:
|
|
373
|
-
removedRows: "Removed {{ deletedRowCount }} rows from HubDB table {{ tableId }}"
|
|
374
|
-
rowCount: "HubDB table {{ tableId }} now contains {{ rowCount }} rows"
|
|
375
|
-
tableEmpty: "HubDB table {{ tableId }} is already empty"
|
|
376
|
-
positionals:
|
|
377
|
-
tableId:
|
|
378
|
-
describe: "HubDB Table ID"
|
|
379
|
-
create:
|
|
380
|
-
describe: "Create a HubDB table"
|
|
381
|
-
errors:
|
|
382
|
-
create: "Creating the table at \"{{ src }}\" failed"
|
|
383
|
-
positionals:
|
|
384
|
-
src:
|
|
385
|
-
describe: "Local path to file used for import"
|
|
386
|
-
success:
|
|
387
|
-
create: "The table {{ tableId }} was created in {{ accountId }} with {{ rowCount }} rows"
|
|
388
|
-
delete:
|
|
389
|
-
describe: "Delete a HubDB table"
|
|
390
|
-
errors:
|
|
391
|
-
delete: "Deleting the table {{ tableId }} failed"
|
|
392
|
-
positionals:
|
|
393
|
-
tableId:
|
|
394
|
-
describe: "HubDB Table ID"
|
|
395
|
-
success:
|
|
396
|
-
delete: "The table {{ tableId }} was deleted from {{ accountId }}"
|
|
397
|
-
fetch:
|
|
398
|
-
describe: "Fetch a HubDB table"
|
|
399
|
-
positionals:
|
|
400
|
-
dest:
|
|
401
|
-
describe: "Local destination folder to fetch table to"
|
|
402
|
-
tableId:
|
|
403
|
-
describe: "HubDB Table ID"
|
|
404
|
-
success:
|
|
405
|
-
fetch: "Downloaded HubDB table {{ tableId }} to {{ path }}"
|
|
406
|
-
init:
|
|
407
|
-
describe: "Initialize {{ configName }} for a HubSpot account."
|
|
408
|
-
options:
|
|
409
|
-
auth:
|
|
410
|
-
describe: "Specify auth method to use [\"personalaccesskey\", \"oauth2\"]"
|
|
411
|
-
defaultDescription: "\"{{ defaultType }}\": \nAn access token tied to a specific user account. This is the recommended way of authenticating with local development tools."
|
|
412
|
-
account:
|
|
413
|
-
describe: "HubSpot account to authenticate"
|
|
414
|
-
success:
|
|
415
|
-
configFileCreated: "Created config file \"{{ configPath }}\""
|
|
416
|
-
configFileUpdated: "Connected account \"{{ account }}\" using \"{{ authType }}\" and set it as the default account"
|
|
417
|
-
logs:
|
|
418
|
-
updateConfig: "To update an existing config file, use the \"hs auth\" command."
|
|
419
|
-
errors:
|
|
420
|
-
configFileExists: "The config file {{ configPath }} already exists."
|
|
421
|
-
lint:
|
|
422
|
-
issuesFound: "{{ count }} issues found."
|
|
423
|
-
groupName: "Linting {{ path }}"
|
|
424
|
-
positionals:
|
|
425
|
-
path:
|
|
426
|
-
describe: "Local folder to lint"
|
|
427
|
-
list:
|
|
428
|
-
describe: "List remote contents of a directory."
|
|
429
|
-
gettingPathContents: "Getting contents of {{ path }}."
|
|
430
|
-
noFilesFoundAtPath: "No files found in {{ path }}."
|
|
431
|
-
positionals:
|
|
432
|
-
path:
|
|
433
|
-
describe: "Remote directory to list contents"
|
|
434
|
-
logs:
|
|
435
|
-
describe: "Get logs for a function."
|
|
436
|
-
errors:
|
|
437
|
-
noLogsFound: "No logs were found for the function path \"{{ functionPath }}\" in account \"{{ accountId }}\"."
|
|
438
|
-
examples:
|
|
439
|
-
default: "Get 5 most recent logs for function residing at /_hcms/api/my-endpoint"
|
|
440
|
-
follow: "Poll for and output logs for function residing at /_hcms/api/my-endpoint immediately upon new execution"
|
|
441
|
-
limit: "Get 10 most recent logs for function residing at /_hcms/api/my-endpoint"
|
|
442
|
-
gettingLogs: "Getting {{#if latest}}latest {{/if}}logs for function with path: {{ functionPath }}."
|
|
443
|
-
options:
|
|
444
|
-
compact:
|
|
445
|
-
describe: "output compact logs"
|
|
446
|
-
follow:
|
|
447
|
-
describe: "follow logs"
|
|
448
|
-
latest:
|
|
449
|
-
describe: "retrieve most recent log only"
|
|
450
|
-
limit:
|
|
451
|
-
describe: "limit the number of logs to output"
|
|
452
|
-
positionals:
|
|
453
|
-
endpoint:
|
|
454
|
-
describe: "Serverless function endpoint"
|
|
455
|
-
tailLogs: "Waiting for log entries for \"{{ functionPath }}\" on account \"{{ accountId }}\".\n"
|
|
456
|
-
mv:
|
|
457
|
-
describe: "Move a remote file or folder in HubSpot. This feature is currently in beta and the CLI contract is subject to change."
|
|
458
|
-
errors:
|
|
459
|
-
sourcePathExists: "The folder \"{{ srcPath }}\" already exists in \"{{ destPath }}\"."
|
|
460
|
-
moveFailed: "Moving \"{{ srcPath }}\" to \"{{ destPath }}\" in account {{ accountId }} failed"
|
|
461
|
-
move: "Moved \"{{ srcPath }}\" to \"{{ destPath }}\" in account {{ accountId }}"
|
|
462
|
-
open:
|
|
463
|
-
describe: "Open a HubSpot page in your browser. Run \"hs open list\" to see all available shortcuts."
|
|
464
|
-
options:
|
|
465
|
-
list:
|
|
466
|
-
describe: "List all supported shortcuts"
|
|
467
|
-
positionals:
|
|
468
|
-
shortcut:
|
|
469
|
-
describe: "Shortcut of the link you'd like to open"
|
|
470
|
-
selectLink: "Select a link to open"
|
|
471
|
-
project:
|
|
472
|
-
describe: "Commands for working with projects. For more information, visit our documentation: https://developers.hubspot.com/docs/platform/build-and-deploy-using-hubspot-projects"
|
|
473
|
-
subcommands:
|
|
474
|
-
dev:
|
|
475
|
-
describe: "Start local dev for the current project"
|
|
476
|
-
logs:
|
|
477
|
-
betaMessage: "HubSpot projects local development"
|
|
478
|
-
placeholderAccountSelection: "Using default account as target account (for now)"
|
|
479
|
-
errors:
|
|
480
|
-
noProjectConfig: "No project detected. Please run this command again from a project directory."
|
|
481
|
-
invalidProjectComponents: "Projects cannot contain both private and public apps. Move your apps to separate projects before attempting local development."
|
|
482
|
-
examples:
|
|
483
|
-
default: "Start local dev for the current project"
|
|
484
|
-
create:
|
|
485
|
-
describe: "Create a new project"
|
|
486
|
-
logs:
|
|
487
|
-
welcomeMessage: "Welcome to HubSpot Developer Projects!"
|
|
488
|
-
examples:
|
|
489
|
-
default: "Create a new project"
|
|
490
|
-
options:
|
|
491
|
-
location:
|
|
492
|
-
describe: "Directory where project should be created"
|
|
493
|
-
name:
|
|
494
|
-
describe: "Project name (cannot be changed)"
|
|
495
|
-
template:
|
|
496
|
-
describe: "The starting template"
|
|
497
|
-
templateSource:
|
|
498
|
-
describe: "Path to custom GitHub repository from which to create project template"
|
|
499
|
-
add:
|
|
500
|
-
describe: "Create a new component within a project"
|
|
501
|
-
options:
|
|
502
|
-
name:
|
|
503
|
-
describe: "Component name"
|
|
504
|
-
type:
|
|
505
|
-
describe: "The type of component"
|
|
506
|
-
creatingComponent:
|
|
507
|
-
message: "Adding a new component to your project"
|
|
508
|
-
success:
|
|
509
|
-
message: "{{ componentName }} was added to your project"
|
|
510
|
-
error:
|
|
511
|
-
locationInProject: "The component location must be within a project folder"
|
|
512
|
-
examples:
|
|
513
|
-
default: "Create a component within your project"
|
|
514
|
-
deploy:
|
|
515
|
-
describe: "Deploy a project build"
|
|
516
|
-
debug:
|
|
517
|
-
deploying: "Deploying project at path: {{ path }}"
|
|
518
|
-
errors:
|
|
519
|
-
deploy: "Deploy error: {{ details }}"
|
|
520
|
-
noBuilds: "Deploy error: no builds for this project were found."
|
|
521
|
-
noBuildId: "You must specify a build to deploy"
|
|
522
|
-
projectNotFound: "{{ projectName }} does not exist in account {{ accountIdentifier }}. Run {{ command }} to upload your project files to HubSpot."
|
|
523
|
-
examples:
|
|
524
|
-
default: "Deploy the latest build of the current project"
|
|
525
|
-
withOptions: "Deploy build 5 of the project my-project"
|
|
526
|
-
options:
|
|
527
|
-
buildId:
|
|
528
|
-
describe: "Project build ID to be deployed"
|
|
529
|
-
project:
|
|
530
|
-
describe: "Project name"
|
|
531
|
-
listBuilds:
|
|
532
|
-
describe: "List the project's builds"
|
|
2
|
+
commands:
|
|
3
|
+
generalErrors:
|
|
4
|
+
srcIsProject: "\"{{ src }}\" is in a project folder. Did you mean \"hs project {{command}}\"?"
|
|
5
|
+
setDefaultAccountMoved: "This command has moved. Try `hs accounts use` instead"
|
|
6
|
+
accounts:
|
|
7
|
+
describe: "Commands for working with accounts."
|
|
8
|
+
subcommands:
|
|
9
|
+
list:
|
|
10
|
+
accounts: "{{#bold}}Accounts{{/bold}}:"
|
|
11
|
+
defaultAccount: "{{#bold}}Default account{{/bold}}: {{ account }}"
|
|
12
|
+
describe: "List names of accounts defined in config."
|
|
13
|
+
configPath: "{{#bold}}Config path{{/bold}}: {{ configPath }}"
|
|
14
|
+
labels:
|
|
15
|
+
accountId: "Account ID"
|
|
16
|
+
authType: "Auth Type"
|
|
17
|
+
name: "Name"
|
|
18
|
+
rename:
|
|
19
|
+
describe: "Rename account in config."
|
|
20
|
+
positionals:
|
|
21
|
+
accountName:
|
|
22
|
+
describe: "Name of account to be renamed."
|
|
23
|
+
newName:
|
|
24
|
+
describe: "New name for account."
|
|
25
|
+
success:
|
|
26
|
+
renamed: "Account \"{{ name }}\" renamed to \"{{ newName }}\""
|
|
27
|
+
use:
|
|
28
|
+
describe: "Set the Hubspot account to use as the default account. The default account can be overridden with the \"--account\" option."
|
|
29
|
+
errors:
|
|
30
|
+
accountNotFound: "The account \"{{ specifiedAccount }}\" could not be found in {{ configPath }}"
|
|
31
|
+
examples:
|
|
32
|
+
default: "Select a HubSpot account to use as the default account"
|
|
33
|
+
idBased: "Set the default account to the account in the config with accountId equal to \"1234567\""
|
|
34
|
+
nameBased: "Set the default account to the account in the config with name equal to \"MyAccount\""
|
|
35
|
+
options:
|
|
36
|
+
account:
|
|
37
|
+
describe: "Account name or id to use as the default"
|
|
38
|
+
promptMessage: "Select an account to use as the default"
|
|
39
|
+
success:
|
|
40
|
+
defaultAccountUpdated: "Default account updated to \"{{ accountName }}\""
|
|
41
|
+
remove:
|
|
42
|
+
describe: "Remove an account from the config."
|
|
533
43
|
logs:
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
table:
|
|
543
|
-
accountHeader: "Account"
|
|
544
|
-
projectHeader: "Project"
|
|
545
|
-
appHeader: "App"
|
|
546
|
-
functionHeader: "Function"
|
|
547
|
-
endpointHeader: "Endpoint"
|
|
548
|
-
examples:
|
|
549
|
-
default: "Open the project logs prompt to get logs for a serverless function"
|
|
550
|
-
withOptions: "Get logs for function named \"my-function\" within the app named \"app\" within the project named \"my-project\""
|
|
551
|
-
options:
|
|
552
|
-
app:
|
|
553
|
-
describe: "App name"
|
|
554
|
-
compact:
|
|
555
|
-
describe: "Output compact logs"
|
|
556
|
-
tail:
|
|
557
|
-
describe: "Tail logs"
|
|
558
|
-
latest:
|
|
559
|
-
describe: "Retrieve most recent log only"
|
|
560
|
-
limit:
|
|
561
|
-
describe: "Limit the number of logs to output"
|
|
562
|
-
project:
|
|
563
|
-
describe: "Project name"
|
|
564
|
-
function:
|
|
565
|
-
describe: "App function name"
|
|
566
|
-
endpoint:
|
|
567
|
-
describe: "Public endpoint path"
|
|
568
|
-
upload:
|
|
569
|
-
describe: "Upload your project files and create a new build"
|
|
570
|
-
examples:
|
|
571
|
-
default: "Upload a project"
|
|
572
|
-
logs:
|
|
573
|
-
buildSucceeded: "Build #{{ buildId }} succeeded\n"
|
|
574
|
-
readyToGoLive: "🚀 Ready to take your project live?"
|
|
575
|
-
runCommand: "Run `{{ command }}`"
|
|
576
|
-
errors:
|
|
577
|
-
projectLockedError: "Your project is locked. This may mean that another user is running the {{#bold}}`hs project dev`{{/bold}} command for this project. If this is you, unlock the project in Projects UI."
|
|
578
|
-
options:
|
|
579
|
-
forceCreate:
|
|
580
|
-
describe: "Automatically create project if it does not exist"
|
|
581
|
-
message:
|
|
582
|
-
describe: "Add a message when you upload your project and create a build"
|
|
583
|
-
positionals:
|
|
584
|
-
path:
|
|
585
|
-
describe: "Path to a project folder"
|
|
586
|
-
watch:
|
|
587
|
-
describe: "Watch your local project for changes and automatically upload changed files to a new build in HubSpot"
|
|
588
|
-
examples:
|
|
589
|
-
default: "Watch a project within the myProjectFolder folder"
|
|
590
|
-
logs:
|
|
591
|
-
processExited: "Stopping watcher..."
|
|
592
|
-
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}}."
|
|
593
|
-
resuming: "Resuming watcher..."
|
|
594
|
-
uploadSucceeded: "Uploaded file \"{{ filePath }}\" to \"{{ remotePath }}\""
|
|
595
|
-
deleteFileSucceeded: "Deleted file \"{{ remotePath }}\""
|
|
596
|
-
deleteFolderSucceeded: "Deleted folder \"{{ remotePath }}\""
|
|
597
|
-
watching: "Watcher is ready and watching \"{{ projectDir }}\". Any changes detected will be automatically uploaded."
|
|
598
|
-
previousStagingBuildCancelled: "Killed the previous watch process. Please try running `hs project watch` again"
|
|
599
|
-
positionals:
|
|
600
|
-
path:
|
|
601
|
-
describe: "Path to a project folder"
|
|
602
|
-
options:
|
|
603
|
-
initialUpload:
|
|
604
|
-
describe: "Upload directory before watching for updates"
|
|
605
|
-
debug:
|
|
606
|
-
pause: "Pausing watcher, attempting to queue build"
|
|
607
|
-
buildStarted: "Build queued."
|
|
608
|
-
extensionNotAllowed: "Skipping \"{{ filePath }}\" due to unsupported extension"
|
|
609
|
-
ignored: "Skipping \"{{ filePath }}\" due to an ignore rule"
|
|
610
|
-
uploading: "Attempting to upload file \"{{ filePath }}\" to \"{{ remotePath }}\""
|
|
611
|
-
attemptNewBuild: "Attempting to create a new build"
|
|
612
|
-
fileAlreadyQueued: "File \"{{ filePath }}\" is already queued for upload"
|
|
613
|
-
errors:
|
|
614
|
-
uploadFailed: "Failed to upload file \"{{ filePath }}\" to \"{{ remotePath }}\""
|
|
615
|
-
deleteFileFailed: "Failed to delete file \"{{ remotePath }}\""
|
|
616
|
-
deleteFolderFailed: "Failed to delete folder \"{{ remotePath }}\""
|
|
617
|
-
download:
|
|
618
|
-
describe: "Download your project files from HubSpot and write to a path on your computer"
|
|
619
|
-
examples:
|
|
620
|
-
default: "Download the project myProject into myProjectFolder folder"
|
|
621
|
-
logs:
|
|
622
|
-
downloadCancelled: "Cancelling project download"
|
|
623
|
-
downloadSucceeded: "Downloaded build \"{{ buildId }}\" from project \"{{ projectName }}\""
|
|
624
|
-
errors:
|
|
625
|
-
downloadFailed: "Something went wrong downloading the project"
|
|
626
|
-
projectNotFound: "Your project {{ projectName }} could not be found in {{ accountId }}"
|
|
627
|
-
warnings:
|
|
628
|
-
cannotDownloadWithinProject: "Cancelling project download. Please run the command again outside the context of an existing project."
|
|
629
|
-
options:
|
|
630
|
-
buildNumber:
|
|
631
|
-
describe: "The build number to download"
|
|
632
|
-
project:
|
|
633
|
-
describe: "The name of the project to download"
|
|
634
|
-
dest:
|
|
635
|
-
describe: "Destination folder for the project"
|
|
636
|
-
open:
|
|
637
|
-
describe: "Open the specified project's details page in the browser"
|
|
638
|
-
options:
|
|
639
|
-
project:
|
|
640
|
-
describe: "Name of project to open"
|
|
641
|
-
examples:
|
|
642
|
-
default: "Opens the projects page for the specified account"
|
|
643
|
-
success: "Successfully opened \"{{ projectName }}\""
|
|
644
|
-
feedback:
|
|
645
|
-
describe: "Leave feedback on HubSpot projects or file a bug report"
|
|
646
|
-
success: "We opened {{ url }} in your browser."
|
|
647
|
-
options:
|
|
648
|
-
bug:
|
|
649
|
-
describe: "Open Github issues in your browser to report a bug."
|
|
650
|
-
general:
|
|
651
|
-
describe: "Open the projects feedback form in your browser."
|
|
652
|
-
remove:
|
|
653
|
-
describe: "Delete a file or folder from HubSpot."
|
|
654
|
-
deleted: "Deleted \"{{ path }}\" from account {{ accountId }}"
|
|
655
|
-
errors:
|
|
656
|
-
deleteFailed: "Deleting \"{{ path }}\" from account {{ accountId }} failed"
|
|
657
|
-
positionals:
|
|
658
|
-
path:
|
|
659
|
-
describe: "Remote hubspot path"
|
|
660
|
-
sandbox:
|
|
661
|
-
describe: "Commands for working with sandboxes."
|
|
662
|
-
subcommands:
|
|
663
|
-
create:
|
|
664
|
-
describe: "Create a sandbox account"
|
|
665
|
-
examples:
|
|
666
|
-
default: "Creates a standard sandbox account named MySandboxAccount."
|
|
667
|
-
force: "Skips all confirmation prompts when creating a sandbox account."
|
|
668
|
-
debug:
|
|
669
|
-
error: "Error creating sandbox:"
|
|
670
|
-
info:
|
|
671
|
-
auth: "Run `hs auth` to authenticate with the new sandbox account."
|
|
672
|
-
options:
|
|
673
|
-
name:
|
|
674
|
-
describe: "Name to use for created sandbox"
|
|
675
|
-
type:
|
|
676
|
-
describe: "Type of sandbox to create (standard | development)"
|
|
677
|
-
failure:
|
|
678
|
-
optionMissing:
|
|
679
|
-
type: "Invalid or missing sandbox --type option in command. Please try again."
|
|
680
|
-
name: "Invalid or missing sandbox --name option in command. Please try again."
|
|
681
|
-
invalidAccountType: "Sandboxes must be created from a production account. Your current default account {{#bold}}{{ accountName }}{{/bold}} is a {{ accountType }}.
|
|
682
|
-
\n- Run {{#bold}}hs accounts use{{/bold}} to switch to your default account to your production account.
|
|
683
|
-
\n- Run {{#bold}}hs auth{{/bold}} to connect a production account to the HubSpot CLI.\n"
|
|
684
|
-
delete:
|
|
685
|
-
describe: "Delete a sandbox account"
|
|
686
|
-
debug:
|
|
687
|
-
deleting: "Deleting sandbox account \"{{ account }}\""
|
|
688
|
-
error: "Error deleting sandbox account:"
|
|
689
|
-
examples:
|
|
690
|
-
default: "Deletes the sandbox account named MySandboxAccount."
|
|
691
|
-
force: "Skips all confirmation prompts when deleting a sandbox account."
|
|
692
|
-
confirm: "Delete sandbox {{#bold}}{{ account }}{{/bold}}? All data for this sandbox will be permanently deleted."
|
|
693
|
-
defaultAccountWarning: "The sandbox {{#bold}}{{ account }}{{/bold}} is currently set as the default account."
|
|
694
|
-
success:
|
|
695
|
-
delete: "Sandbox \"{{ account }}\" with portalId \"{{ sandboxHubId }}\" was deleted successfully."
|
|
696
|
-
deleteDefault: "Sandbox \"{{ account }}\" with portalId \"{{ sandboxHubId }}\" was deleted successfully and removed as the default account."
|
|
697
|
-
configFileUpdated: "Removed account {{ account }} from {{ configFilename }}."
|
|
698
|
-
failure:
|
|
699
|
-
invalidUser: "Couldn't delete {{ accountName }} because your account has been removed from {{ parentAccountName }} or your permission set doesn't allow you to delete the sandbox. To update your permissions, contact a super admin in {{ parentAccountName }}."
|
|
700
|
-
noAccount: "No account specified. Specify an account by using the --account flag."
|
|
701
|
-
noSandboxAccounts: "There are no sandboxes connected to the CLI. To add a sandbox, run {{#bold}}hs auth{{/bold}}."
|
|
702
|
-
noParentAccount: "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}}hs auth{{/bold}} and add the parent account."
|
|
703
|
-
objectNotFound: "Sandbox {{#bold}}{{ account }}{{/bold}} may have been deleted through the UI. The account has been removed from the config."
|
|
704
|
-
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}}."
|
|
705
|
-
invalidKey: "Your personal access key for account {{#bold}}{{ account }}{{/bold}} is inactive. To re-authenticate, please run {{#bold}}hs auth personalaccesskey{{/bold}}."
|
|
706
|
-
options:
|
|
707
|
-
account:
|
|
708
|
-
describe: "Account name or id to delete"
|
|
709
|
-
sync:
|
|
710
|
-
describe: "Sync to a sandbox account"
|
|
711
|
-
examples:
|
|
712
|
-
default: "Initiates a sync to a sandbox account."
|
|
713
|
-
force: "Skips all confirmation prompts when initiating a sync."
|
|
714
|
-
info:
|
|
715
|
-
developmentSandbox: "This will sync CRM object definitions."
|
|
716
|
-
standardSandbox: "This will sync all supported assets.
|
|
717
|
-
\nTo sync only specific assets, follow this link: {{#bold}}{{ url }}{{/bold}}"
|
|
718
|
-
sync: "\nSync direction:
|
|
719
|
-
\n- Target sandbox: {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}}
|
|
720
|
-
\n- Source account: {{#bold}}{{ parentAccountName }}{{/bold}}
|
|
721
|
-
\n\nRun {{#bold}}hs accounts use{{/bold}} to change your default account and sync to a different target sandbox."
|
|
722
|
-
warning:
|
|
723
|
-
developmentSandbox: "Syncing will update previously synced object definitions and add new ones from production to your development sandbox. Object definitions that were created in your sandbox will stay the same."
|
|
724
|
-
standardSandbox: "Syncing can have a big impact. Updates from your production account may overwrite changes in your standard sandbox. Standard sandboxes are usually shared with other Super Admins."
|
|
725
|
-
confirm:
|
|
726
|
-
developmentSandbox: "Sync CRM object definitions to {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}} from {{#bold}}{{ parentAccountName }}{{/bold}}?"
|
|
727
|
-
standardSandbox: "Sync all supported assets to {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}} from {{#bold}}{{ parentAccountName }}{{/bold}}?"
|
|
728
|
-
failure:
|
|
729
|
-
invalidAccountType: "Sync must be run in a sandbox account. Your default account is a {{ accountType }}. Run {{#bold}}hs auth{{/bold}} to connect your sandbox account to the CLI or {{#bold}}hs accounts use{{/bold}} to change your default account, then try again."
|
|
730
|
-
missingParentPortal: "The production account associated to {{#bold}}{{ sandboxName }}{{/bold}} is not connected to your HubSpot CLI.
|
|
731
|
-
\n- Run {{#bold}}hs auth{{/bold}} to connect that account to your terminal, then try again.
|
|
732
|
-
\n- Run {{#bold}}hs accounts use{{/bold}} to change your default account, if you want to sync to a different sandbox. Then try again.\n"
|
|
733
|
-
secrets:
|
|
734
|
-
describe: "Manage HubSpot secrets."
|
|
735
|
-
subcommands:
|
|
736
|
-
add:
|
|
737
|
-
describe: "Add a HubSpot secret"
|
|
738
|
-
errors:
|
|
739
|
-
add: "The secret \"{{ secretName }}\" was not added"
|
|
740
|
-
positionals:
|
|
741
|
-
name:
|
|
742
|
-
describe: "Name of the secret"
|
|
743
|
-
success:
|
|
744
|
-
add: "The secret \"{{ secretName }}\" was added to the HubSpot account: {{ accountIdentifier }}"
|
|
745
|
-
delete:
|
|
746
|
-
describe: "Delete a HubSpot secret"
|
|
747
|
-
errors:
|
|
748
|
-
delete: "The secret \"{{ secretName }}\" was not deleted"
|
|
749
|
-
positionals:
|
|
750
|
-
name:
|
|
751
|
-
describe: "Name of the secret"
|
|
752
|
-
success:
|
|
753
|
-
delete: "The secret \"{{ secretName }}\" was deleted from the HubSpot account: {{ accountIdentifier }}"
|
|
754
|
-
list:
|
|
755
|
-
describe: "List all HubSpot secrets"
|
|
756
|
-
errors:
|
|
757
|
-
list: "The secrets could not be listed"
|
|
758
|
-
groupLabel: "Secrets for account {{ accountIdentifier }}:"
|
|
759
|
-
update:
|
|
760
|
-
describe: "Update an existing HubSpot secret"
|
|
761
|
-
errors:
|
|
762
|
-
update: "The secret \"{{ secretName }}\" was not updated"
|
|
763
|
-
positionals:
|
|
764
|
-
name:
|
|
765
|
-
describe: "Name of the secret to be updated"
|
|
766
|
-
success:
|
|
767
|
-
update: "The secret \"{{ secretName }}\" was updated in the HubSpot account: {{ accountIdentifier }}"
|
|
768
|
-
updateExplanation: "Existing serverless functions will start using this new value within 10 seconds."
|
|
769
|
-
theme:
|
|
770
|
-
describe: "Commands for working with themes, including marketplace validation with the marketplace-validate subcommand."
|
|
771
|
-
subcommands:
|
|
772
|
-
generateSelectors:
|
|
773
|
-
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."
|
|
774
|
-
errors:
|
|
775
|
-
invalidPath: "Could not find directory \"{{ themePath }}\""
|
|
776
|
-
fieldsNotFound: "Unable to find theme's fields.json."
|
|
777
|
-
noSelectorsFound: "No selectors found."
|
|
778
|
-
success: "Selectors generated for {{ themePath }}, please double check the selectors generated at {{ selectorsPath }} before uploading the theme."
|
|
779
|
-
positionals:
|
|
780
|
-
themePath:
|
|
781
|
-
describe: "The path of the theme you'd like to generate an editor-preview.json for."
|
|
782
|
-
marketplaceValidate:
|
|
783
|
-
describe: "Validate a theme for the marketplace"
|
|
784
|
-
errors:
|
|
785
|
-
invalidPath: "The path \"{{ path }}\" is not a path to a folder in the Design Manager"
|
|
786
|
-
logs:
|
|
787
|
-
validatingTheme: "Validating theme \"{{ path }}\" \n"
|
|
788
|
-
results:
|
|
789
|
-
required: "Required validation results:"
|
|
790
|
-
recommended: "Recommended validation results:"
|
|
791
|
-
warnings:
|
|
792
|
-
file: "File: {{ file }}"
|
|
793
|
-
lineNumber: "Line number: {{ line }}"
|
|
794
|
-
noErrors: "No errors"
|
|
795
|
-
positionals:
|
|
796
|
-
src:
|
|
797
|
-
describe: "Path to the theme within the Design Manager."
|
|
798
|
-
module:
|
|
799
|
-
describe: "Commands for working with modules, including marketplace validation with the marketplace-validate subcommand."
|
|
800
|
-
subcommands:
|
|
801
|
-
marketplaceValidate:
|
|
802
|
-
describe: "Validate a module for the marketplace. Make sure to include the suffix .module in the path to the module within the Design Manager."
|
|
803
|
-
errors:
|
|
804
|
-
invalidPath: "The path \"{{ path }}\" is not a path to a module within the Design Manager."
|
|
805
|
-
logs:
|
|
806
|
-
validatingModule: "Validating module \"{{ path }}\" \n"
|
|
807
|
-
options:
|
|
808
|
-
json:
|
|
809
|
-
describe: "Output raw json data"
|
|
810
|
-
results:
|
|
811
|
-
required: "Required validation results:"
|
|
812
|
-
recommended: "Recommended validation results:"
|
|
813
|
-
warnings:
|
|
814
|
-
file: "File: {{ file }}"
|
|
815
|
-
lineNumber: "Line number: {{ line }}"
|
|
816
|
-
noErrors: "No errors"
|
|
817
|
-
positionals:
|
|
818
|
-
src:
|
|
819
|
-
describe: "Path to the module within the Design Manager."
|
|
820
|
-
upload:
|
|
821
|
-
describe: "Upload a folder or file from your computer to the HubSpot CMS."
|
|
822
|
-
errors:
|
|
823
|
-
destinationRequired: "A destination path needs to be passed"
|
|
824
|
-
fileIgnored: "The file \"{{ path }}\" is being ignored via an .hsignore rule"
|
|
825
|
-
invalidPath: "The path \"{{ path }}\" is not a path to a file or folder"
|
|
826
|
-
uploadFailed: "Uploading file \"{{ src }}\" to \"{{ dest }}\" failed"
|
|
827
|
-
someFilesFailed: "One or more files failed to upload to \"{{ dest }}\" in the Design Manager"
|
|
828
|
-
deleteFailed: "Deleting \"{{ path }}\" from account {{ accountId }} failed"
|
|
829
|
-
options:
|
|
44
|
+
replaceDefaultAccount: "The removed account was the default account."
|
|
45
|
+
prompts:
|
|
46
|
+
selectAccountToRemove: "Select an account to remove from the config"
|
|
47
|
+
errors:
|
|
48
|
+
accountNotFound: "The account \"{{ specifiedAccount }}\" could not be found in {{ configPath }}"
|
|
49
|
+
examples:
|
|
50
|
+
default: "Select a HubSpot account to remove from the config"
|
|
51
|
+
byName: "Remove the account \"MyAccount\" from the config"
|
|
830
52
|
options:
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
53
|
+
account:
|
|
54
|
+
describe: "Account name or id to remove"
|
|
55
|
+
promptMessage: "Select an account to remove"
|
|
56
|
+
success:
|
|
57
|
+
accountRemoved: "Account \"{{ accountName }}\" removed from the config"
|
|
58
|
+
info:
|
|
59
|
+
accountId: "{{#bold}}Account ID{{/bold}}: {{ accountId }}"
|
|
60
|
+
describe: "Print information about the default account, or about the account specified with the \"--account\" option."
|
|
61
|
+
errors:
|
|
62
|
+
notUsingPersonalAccessKey: "This command currently only supports fetching scopes for the personal access key auth type."
|
|
63
|
+
examples:
|
|
64
|
+
default: "Print information for the default account"
|
|
65
|
+
idBased: "Print information for the account with accountId equal to \"1234567\""
|
|
66
|
+
nameBased: "Print information for the account in the config with name equal to \"MyAccount\""
|
|
67
|
+
name: "{{#bold}}Account name{{/bold}}: {{ name }}"
|
|
68
|
+
scopeGroups: "{{#bold}}Scopes available{{/bold}}:"
|
|
69
|
+
clean:
|
|
70
|
+
describe: "Checks for inactive accounts and removes them from the CLI config"
|
|
71
|
+
noResults: "No inactive accounts found to remove."
|
|
72
|
+
loading:
|
|
73
|
+
add: "Looking for inactive accounts…"
|
|
74
|
+
inactiveAccountsFound:
|
|
75
|
+
one: "1 inactive account found:"
|
|
76
|
+
other: "{{ count }} inactive accounts found:"
|
|
77
|
+
confirm:
|
|
78
|
+
one: "Remove 1 inactive account from the CLI config?"
|
|
79
|
+
other: "Remove {{ count }} inactive accounts from the CLI config?"
|
|
80
|
+
removeSuccess: "Removed {{ accountName }} from the CLI config."
|
|
81
|
+
auth:
|
|
82
|
+
describe: "Configure authentication for a HubSpot account. Supported authentication protocols are {{ supportedProtocols }}."
|
|
83
|
+
errors:
|
|
84
|
+
noConfigFileFound: "No config file was found. To create a new config file, use the \"hs init\" command."
|
|
85
|
+
unsupportedAuthType: "Unsupported auth type: {{ type }}. The only supported authentication protocols are {{ supportedProtocols }}."
|
|
86
|
+
positionals:
|
|
87
|
+
type:
|
|
88
|
+
describe: "Authentication mechanism"
|
|
89
|
+
defaultDescription: "\"{{ authMethod }}\": \nAn access token tied to a specific user account. This is the recommended way of authenticating with local development tools."
|
|
90
|
+
options:
|
|
91
|
+
account:
|
|
92
|
+
describe: "HubSpot account to authenticate"
|
|
93
|
+
success:
|
|
94
|
+
configFileUpdated: "Account \"{{ accountName }}\" updated in {{ configFilename }} using \"{{ authType }}\""
|
|
95
|
+
config:
|
|
96
|
+
describe: "Commands for working with the config file."
|
|
97
|
+
subcommands:
|
|
98
|
+
set:
|
|
99
|
+
describe: "Commands for modifying the CLI configuration"
|
|
100
|
+
promptMessage: "Select a config option to update"
|
|
101
|
+
examples:
|
|
102
|
+
default: "Opens a prompt to select a config item to modify"
|
|
870
103
|
options:
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
104
|
+
defaultMode:
|
|
105
|
+
describe: "Set the default mode"
|
|
106
|
+
promptMessage: "Select mode to be used as the default"
|
|
107
|
+
error: "The mode \"{{ mode }}\" is invalid. Valid values are {{ validModes }}."
|
|
108
|
+
success: "Default mode updated to: {{ mode }}"
|
|
109
|
+
allowUsageTracking:
|
|
110
|
+
describe: "Enable or disable usage tracking"
|
|
111
|
+
promptMessage: "Choose to enable or disable usage tracking"
|
|
112
|
+
success: "Allow usage tracking set to: \"{{ isEnabled }}\""
|
|
113
|
+
labels:
|
|
114
|
+
enabled: "Enabled"
|
|
115
|
+
disabled: "Disabled"
|
|
116
|
+
httpTimeout:
|
|
117
|
+
describe: "Set the http timeout duration"
|
|
118
|
+
promptMessage: "Enter http timeout duration"
|
|
119
|
+
success: "The http timeout has been set to: {{ timeout }}"
|
|
120
|
+
cms:
|
|
121
|
+
describe: "Commands for working with the CMS."
|
|
122
|
+
subcommands:
|
|
123
|
+
lighthouseScore:
|
|
124
|
+
describe: "Score a theme using Google lighthouse."
|
|
125
|
+
examples:
|
|
126
|
+
default: "Get the lighthouse score for the my-theme theme"
|
|
127
|
+
info:
|
|
128
|
+
promptMessage: "Select a theme to score"
|
|
129
|
+
fetchingThemes: "Fetching available themes"
|
|
130
|
+
generatingScore: "Generating Google Lighthouse score for {{ theme }}"
|
|
131
|
+
targetDeviceNote: "Scores are being shown for {{ target }} only."
|
|
132
|
+
verboseOptionNote: "Theme scores are averages of all theme templates. Use the [--verbose] option to include individual template scores."
|
|
133
|
+
pageTemplateScoreTitle: "Page template scores"
|
|
134
|
+
lighthouseLinksTitle: "Lighthouse links"
|
|
135
|
+
failedTemplatePathsTitle: "The following templates could not be scored"
|
|
136
|
+
errors:
|
|
137
|
+
targetOptionRequired: "[--target] is required for detailed view"
|
|
138
|
+
invalidTargetOption: "[--target] can only be used for detailed view"
|
|
139
|
+
themeNotFound: "Theme \"{{ theme }}\" not found. Please rerun using a valid theme path."
|
|
140
|
+
failedToFetchThemes: "Failed to fetch available themes. Try running again with the [--theme] option"
|
|
141
|
+
failedToGetLighthouseScore: "Failed to generate a Google Lighthouse score"
|
|
909
142
|
options:
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
quitHelper: "Press {{#bold}}'q'{{/bold}} to stop the local dev server"
|
|
926
|
-
viewInHubSpotLink: "View project in HubSpot"
|
|
927
|
-
exitingStart: "Stopping local dev server ..."
|
|
928
|
-
exitingSucceed: "Successfully exited"
|
|
929
|
-
exitingFail: "Failed to cleanup before exiting"
|
|
930
|
-
uploadWarning:
|
|
931
|
-
appLabel: "[App]"
|
|
932
|
-
uiExtensionLabel: "[UI Extension]"
|
|
933
|
-
missingComponents: "Couldn't find the following components in the deployed build for this project: {{#bold}}'{{ missingComponents }}'{{/bold}}. This may cause issues in local development."
|
|
934
|
-
defaultWarning: "Changing project configuration requires a new project build."
|
|
935
|
-
header: "{{ warning }} To reflect these changes and continue testing:"
|
|
936
|
-
stopDev: " * Stop {{ command }}"
|
|
937
|
-
runUpload: " * Run {{ command }}"
|
|
938
|
-
restartDev: " * Re-run {{ command }}"
|
|
939
|
-
pushToGithub: " * Commit and push your changes to GitHub"
|
|
940
|
-
devServer:
|
|
941
|
-
cleanupError: "Failed to cleanup local dev server: {{ message }}"
|
|
942
|
-
setupError: "Failed to setup local dev server: {{ message }}"
|
|
943
|
-
startError: "Failed to start local dev server: {{ message }}"
|
|
944
|
-
fileChangeError: "Failed to notify local dev server of file change: {{ message }}"
|
|
945
|
-
localDev:
|
|
946
|
-
confirmDefaultAccountIsTarget:
|
|
947
|
-
declineDefaultAccountExplanation: "To develop on a different account, run {{ useCommand }} to change your default account, then re-run {{ devCommand }}."
|
|
948
|
-
checkIfAppDevloperAccount: "This project contains a public app. Local development of public apps is only supported on developer accounts and developer test accounts. Change your default account using {{#bold}}`hs accounts use`{{/bold}}, or link a new account with {{#bold}}`hs auth`{{/bold}}."
|
|
949
|
-
checkIfDeveloperTestAccount: "This project contains a public app. The \"--account\" flag must point to a developer test account to develop this project locally. Alternatively, change your default account to an App Developer Account using {{#bold}}`hs accounts use`{{/bold}} and run {{#bold}}`hs project dev`{{/bold}} to set up a new Developer Test Account."
|
|
950
|
-
suggestRecommendedNestedAccount:
|
|
951
|
-
nonSandboxWarning: "Testing in a sandbox is strongly recommended. To switch the target account, select an option below or run {{#bold}}`hs accounts use`{{/bold}} before running the command again."
|
|
952
|
-
publicAppNonDeveloperTestAccountWarning: "Local development of public apps is only supported in {{#bold}}developer test accounts{{/bold}}."
|
|
953
|
-
privateAppNonDeveloperTestAccountWarning: "Local development of private apps is only supported in {{#bold}}developer test accounts{{/bold}}"
|
|
954
|
-
createNewProjectForLocalDev:
|
|
955
|
-
projectMustExistExplanation: "The project {{ projectName }} does not exist in the target account {{ accountIdentifier}}. This command requires the project to exist in the target account."
|
|
956
|
-
publicAppProjectMustExistExplanation: "The project {{ projectName }} does not exist in {{ accountIdentifier}}, the app developer account associated with your target account. This command requires the project to exist in this app developer account."
|
|
957
|
-
createProject: "Create new project {{ projectName}} in {{#bold}}[{{ accountIdentifier }}]{{/bold}}?"
|
|
958
|
-
choseNotToCreateProject: "Exiting because this command requires the project to exist in the target account."
|
|
959
|
-
creatingProject: "Creating project {{ projectName }} in {{ accountIdentifier }}"
|
|
960
|
-
createdProject: "Created project {{ projectName }} in {{ accountIdentifier }}"
|
|
961
|
-
failedToCreateProject: "Failed to create project in the target account."
|
|
962
|
-
createInitialBuildForNewProject:
|
|
963
|
-
initialUploadMessage: "HubSpot Local Dev Server Startup"
|
|
964
|
-
projectLockedError: "Your project is locked. This may mean that another user is running the {{#bold}}`hs project watch`{{/bold}} command for this project. If this is you, unlock the project in Projects UI."
|
|
965
|
-
projects:
|
|
966
|
-
config:
|
|
967
|
-
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\""
|
|
968
|
-
uploadProjectFiles:
|
|
969
|
-
add: "Uploading {{#bold}}{{ projectName }}{{/bold}} project files to {{ accountIdentifier }}"
|
|
970
|
-
fail: "Failed to upload {{#bold}}{{ projectName }}{{/bold}} project files to {{ accountIdentifier }}"
|
|
971
|
-
succeed: "Uploaded {{#bold}}{{ projectName }}{{/bold}} project files to {{ accountIdentifier }}"
|
|
972
|
-
buildCreated: "Project \"{{ projectName }}\" uploaded and build #{{ buildId }} created"
|
|
973
|
-
handleProjectUpload:
|
|
974
|
-
emptySource: "Source directory \"{{ srcDir }}\" is empty. Add files to your project and rerun `{{#yellow}}hs project upload{{/yellow}}` to upload them to HubSpot."
|
|
975
|
-
compressed: "Project files compressed: {{ byteCount }} bytes"
|
|
976
|
-
compressing: "Compressing build files to \"{{ path }}\""
|
|
977
|
-
fileFiltered: "Ignore rule triggered for \"{{ filename }}\""
|
|
978
|
-
ensureProjectExists:
|
|
979
|
-
createPrompt: "The project {{ projectName }} does not exist in {{ accountIdentifier }}. Would you like to create it?"
|
|
980
|
-
createPromptUpload: "[--forceCreate] The project {{ projectName }} does not exist in {{ accountIdentifier }}. Would you like to create it?"
|
|
981
|
-
createSuccess: "New project {{#bold}}{{ projectName }}{{/bold}} successfully created in {{#bold}}{{ accountIdentifier }}{{/bold}}."
|
|
982
|
-
notFound: "Your project {{#bold}}{{ projectName }}{{/bold}} could not be found in {{#bold}}{{ accountIdentifier }}{{/bold}}."
|
|
983
|
-
pollFetchProject:
|
|
984
|
-
checkingProject: "Checking if project exists in {{ accountIdentifier }}"
|
|
985
|
-
makePollTaskStatusFunc:
|
|
986
|
-
componentCountSingular: "Found 1 component in this project"
|
|
987
|
-
componentCount: "Found {{ numComponents }} components in this project"
|
|
988
|
-
successStatusText: "DONE"
|
|
989
|
-
failedStatusText: "FAILED"
|
|
990
|
-
pollProjectBuildAndDeploy:
|
|
991
|
-
buildSucceededAutomaticallyDeploying: "Build #{{ buildId }} succeeded. {{#bold}}Automatically deploying{{/bold}} to {{ accountIdentifier }}\n"
|
|
992
|
-
cleanedUpTempFile: "Cleaned up temporary file {{ path }}"
|
|
993
|
-
logFeedbackMessage:
|
|
994
|
-
feedbackHeader: "We'd love to hear your feedback!"
|
|
995
|
-
feedbackMessage: "How are you liking the new projects and developer tools? \n > Run `{{#yellow}}hs feedback{{/yellow}}` to let us know what you think!\n"
|
|
996
|
-
ui:
|
|
997
|
-
betaTag: "{{#bold}}[BETA]{{/bold}}"
|
|
998
|
-
betaWarning:
|
|
999
|
-
header: "{{#yellow}}***************************** WARNING ****************************{{/yellow}}"
|
|
1000
|
-
footer: "{{#yellow}}******************************************************************{{/yellow}}"
|
|
1001
|
-
featureHighlight:
|
|
1002
|
-
defaultTitle: "What's next?"
|
|
1003
|
-
commandKeys:
|
|
1004
|
-
accountOption:
|
|
1005
|
-
command: "--account"
|
|
1006
|
-
message: "Use the {{ command }} option with any command to override the default account"
|
|
1007
|
-
accountsListCommand:
|
|
1008
|
-
command: hs accounts list
|
|
1009
|
-
message: "Run {{ command }} to see a list of configured HubSpot accounts"
|
|
1010
|
-
accountsUseCommand:
|
|
1011
|
-
command: "hs accounts use"
|
|
1012
|
-
message: "Run {{ command }} to set the Hubspot account that the CLI will target by default"
|
|
1013
|
-
authCommand:
|
|
1014
|
-
command: "hs auth"
|
|
1015
|
-
message: "Run {{ command }} to connect the CLI to additional HubSpot accounts"
|
|
1016
|
-
feedbackCommand:
|
|
1017
|
-
command: "hs feedback"
|
|
1018
|
-
message: "Run {{ command }} to report a bug or leave feedback"
|
|
1019
|
-
helpCommand:
|
|
1020
|
-
command: "hs help"
|
|
1021
|
-
message: "Run {{ command }} to see a list of available commands"
|
|
1022
|
-
projectCreateCommand:
|
|
1023
|
-
command: "hs project create"
|
|
1024
|
-
message: "Run {{ command }} to create a new project"
|
|
1025
|
-
projectDeployCommand:
|
|
1026
|
-
command: "hs project deploy"
|
|
1027
|
-
message: "Ready to take your project live? Run {{ command }}"
|
|
1028
|
-
projectHelpCommand:
|
|
1029
|
-
command: "hs project --help"
|
|
1030
|
-
message: "Run {{ command }} to learn more about available project commands"
|
|
1031
|
-
projectUploadCommand:
|
|
1032
|
-
command: "hs project upload"
|
|
1033
|
-
message: "Run {{ command }} to upload your project to HubSpot and trigger builds"
|
|
1034
|
-
projectDevCommand:
|
|
1035
|
-
command: "hs project dev"
|
|
1036
|
-
message: "Run {{ command }} to set up your test environment and start local development"
|
|
1037
|
-
sandboxSyncDevelopmentCommand:
|
|
1038
|
-
command: "hs sandbox sync"
|
|
1039
|
-
message: "Run {{ command }} to to update CRM object definitions in your sandbox"
|
|
1040
|
-
sandboxSyncStandardCommand:
|
|
1041
|
-
command: "hs sandbox sync"
|
|
1042
|
-
message: "Run {{ command }} to to update all supported assets to your sandbox from production"
|
|
1043
|
-
sampleProjects:
|
|
1044
|
-
linkText: "HubSpot's sample projects"
|
|
1045
|
-
url: "https://developers.hubspot.com/docs/platform/sample-projects?utm_source=cli&utm_content=project_create_whats_next"
|
|
1046
|
-
message: "See {{ link }}"
|
|
1047
|
-
git:
|
|
1048
|
-
securityIssue: "Security Issue Detected"
|
|
1049
|
-
configFileTracked: "The HubSpot config file can be tracked by git."
|
|
1050
|
-
fileName: "File: \"{{ configPath }}\""
|
|
1051
|
-
remediate: "To remediate:"
|
|
1052
|
-
moveConfig: "- Move the config file to your home directory: '{{ homeDir }}'"
|
|
1053
|
-
addGitignore: "- Add gitignore pattern '{{ configPath }}' to a .gitignore file in root of your repository."
|
|
1054
|
-
noRemote: "- Ensure that the config file has not already been pushed to a remote repository."
|
|
1055
|
-
checkFailed: "Unable to determine if config file is properly ignored by git."
|
|
1056
|
-
serverlessFunctionLogs:
|
|
1057
|
-
unableToProcessLog: "Unable to process log {{ log }}"
|
|
1058
|
-
commonOpts:
|
|
1059
|
-
options:
|
|
1060
|
-
portal:
|
|
1061
|
-
describe: "HubSpot portal id or name from config"
|
|
1062
|
-
config:
|
|
1063
|
-
describe: "Path to a config file"
|
|
1064
|
-
overwrite:
|
|
1065
|
-
describe: "Overwrite existing files"
|
|
1066
|
-
modes:
|
|
1067
|
-
describe:
|
|
1068
|
-
default: "{{ modes }}"
|
|
1069
|
-
read: "Read from {{ modes }}"
|
|
1070
|
-
write: "Write to {{ modes }}"
|
|
1071
|
-
qa:
|
|
1072
|
-
describe: "Run command in QA mode"
|
|
1073
|
-
useEnv:
|
|
1074
|
-
describe: "Use environment variable config"
|
|
1075
|
-
prompts:
|
|
1076
|
-
projectDevTargetAccountPrompt:
|
|
1077
|
-
createNewSandboxOption: "<Test on a new development sandbox>"
|
|
1078
|
-
createNewDeveloperTestAccountOption: "<Test on a new developer test account>"
|
|
1079
|
-
chooseDefaultAccountOption: "<{{#bold}}\U00002757{{/bold}} Test on this production account {{#bold}}\U00002757{{/bold}}>"
|
|
1080
|
-
promptMessage: "[--account] Choose a {{ accountType }} under {{ accountIdentifier }} to test with:"
|
|
1081
|
-
sandboxLimit: "Your account reached the limit of {{ limit }} development sandboxes"
|
|
1082
|
-
sandboxLimitWithSuggestion: "Your account reached the limit of {{ limit }} development sandboxes. Run {{ authCommand }} to add an existing one to the config."
|
|
1083
|
-
developerTestAccountLimit: "Your account reached the limit of {{ limit }} developer test accounts."
|
|
1084
|
-
confirmDefaultAccount: "Continue testing on {{#bold}}{{ accountName }} ({{ accountType }}){{/bold}}? (Y/n)"
|
|
1085
|
-
confirmUseExistingDeveloperTestAccount: "Continue with {{ accountName }}? This account isn't currently connected to the HubSpot CLI. By continuing, you'll be prompted to generate a personal access key and connect it."
|
|
1086
|
-
projectLogsPrompt:
|
|
1087
|
-
projectName:
|
|
1088
|
-
message: "[--project] Enter the project name:"
|
|
1089
|
-
error: "Project name is required"
|
|
1090
|
-
logType:
|
|
1091
|
-
message: "Select the type of serverless function"
|
|
1092
|
-
function: "App function"
|
|
1093
|
-
endpoint: "Public endpoint"
|
|
1094
|
-
appName: "[--app] Select the app"
|
|
1095
|
-
functionName: "[--function] Enter the app function name:"
|
|
1096
|
-
endpointName: "[--endpoint] Enter the public endpoint path:"
|
|
1097
|
-
setAsDefaultAccountPrompt:
|
|
1098
|
-
setAsDefaultAccountMessage: "Set this account as the default?"
|
|
1099
|
-
setAsDefaultAccount: "Account \"{{ accountName }}\" set as the default account"
|
|
1100
|
-
keepingCurrentDefault: "Account \"{{ accountName }}\" will continue to be the default account"
|
|
1101
|
-
enterAccountNamePrompt:
|
|
1102
|
-
enterAccountName: "Enter a unique name to reference this account in the CLI:"
|
|
143
|
+
theme:
|
|
144
|
+
describe: "Path to the theme in the Design Manager"
|
|
145
|
+
target:
|
|
146
|
+
describe: "Medium to test against"
|
|
147
|
+
verbose:
|
|
148
|
+
describe: "View a detailed output of the lighthouse sores"
|
|
149
|
+
reactModule:
|
|
150
|
+
describe: "Get a specified default React module"
|
|
151
|
+
options:
|
|
152
|
+
name:
|
|
153
|
+
describe: "Name of the react modules to be fetched"
|
|
154
|
+
dest:
|
|
155
|
+
describe: "Destination to download the react module to"
|
|
156
|
+
success:
|
|
157
|
+
moduleDownloaded: "\"{{ moduleName }}\" succesfully downloaded to \"{{ path }}\""
|
|
1103
158
|
errors:
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
159
|
+
pathExists: "Folder already exists at \"{{ path }}\""
|
|
160
|
+
invalidName: "Module not found with that name, please check the spelling of the module you are trying to download."
|
|
161
|
+
groupLabel: "React modules available to download:"
|
|
162
|
+
create:
|
|
163
|
+
describe: "Create HubSpot sample apps and CMS assets. Supported assets are {{ supportedAssetTypes }}."
|
|
164
|
+
errors:
|
|
165
|
+
deprecatedAssetType: "The CLI command for asset type {{ assetType }} has been deprecated in an effort to make it easier to know what asset types can be created. Run the \"{{ newCommand }}\" command instead. Then when prompted select \"{{ type }}\"."
|
|
166
|
+
unsupportedAssetType: "The asset type {{ assetType }} is not supported. Supported asset types are {{ supportedAssetTypes }}."
|
|
167
|
+
unusablePath: "The \"{{ path }}\" is not a usable path to a directory."
|
|
168
|
+
positionals:
|
|
169
|
+
dest:
|
|
170
|
+
describe: "Destination folder for the new asset, relative to your current working directory. If omitted, this argument will default to your current working directory"
|
|
171
|
+
name:
|
|
172
|
+
describe: "Name of new asset"
|
|
173
|
+
type:
|
|
174
|
+
describe: "Type of asset"
|
|
175
|
+
subcommands:
|
|
176
|
+
apiSample:
|
|
1119
177
|
errors:
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
overwriteConfirm: "The folder with name \"{{ folderName }}\" already exists. Overwrite?"
|
|
1130
|
-
createTemplatePrompt:
|
|
1131
|
-
selectTemplate: "Select the type of template to create"
|
|
1132
|
-
createModulePrompt:
|
|
1133
|
-
enterLabel: "What should the module label be?"
|
|
1134
|
-
selectReactType: "Is this a React module?"
|
|
1135
|
-
selectContentType: "What types of content will this module be used in?"
|
|
1136
|
-
confirmGlobal: "Is this a global module?"
|
|
178
|
+
nameRequired: "The \"name\" argument is required when creating an API Sample."
|
|
179
|
+
noSamples: "Currently there are no samples available, please, try again later."
|
|
180
|
+
info:
|
|
181
|
+
sampleChosen: "You've chosen {{ sampleType }} sample written on {{ sampleLanguage }} language"
|
|
182
|
+
loading:
|
|
183
|
+
apiSamples: "Loading available API samples"
|
|
184
|
+
success:
|
|
185
|
+
sampleCreated: "Please, follow {{ filePath }}/README.md to find out how to run the sample"
|
|
186
|
+
module:
|
|
1137
187
|
errors:
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
contentTypeRequired: "Please select at least one content type for this module."
|
|
1141
|
-
createFunctionPrompt:
|
|
1142
|
-
enterFolder: "Name of the folder where your function will be created: "
|
|
1143
|
-
enterFilename: "Name of the JavaScript file for your function: "
|
|
1144
|
-
enterEndpointPath: "Path portion of the URL created for the function: "
|
|
1145
|
-
selectEndpointMethod: "Select the HTTP method for the endpoint"
|
|
188
|
+
nameRequired: "The \"name\" argument is required when creating a Custom Module."
|
|
189
|
+
template:
|
|
1146
190
|
errors:
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
191
|
+
nameRequired: "The \"name\" argument is required when creating a Template."
|
|
192
|
+
customObject:
|
|
193
|
+
betaMessage: "The Custom Object CLI is currently in beta and is subject to change."
|
|
194
|
+
describe: "Manage Custom Objects. This feature is currently in beta and the CLI contract is subject to change."
|
|
195
|
+
seeMoreLink: "View our docs to find out more."
|
|
196
|
+
subcommands:
|
|
197
|
+
create:
|
|
198
|
+
describe: "Create custom object instances"
|
|
1153
199
|
errors:
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
200
|
+
creationFailed: "Object creation from {{ definition }} failed"
|
|
201
|
+
positionals:
|
|
202
|
+
definition:
|
|
203
|
+
describe: "Local path to the JSON file containing an array of object definitions"
|
|
204
|
+
name:
|
|
205
|
+
describe: "Schema name to add the object instance to"
|
|
206
|
+
success:
|
|
207
|
+
objectsCreated: "Objects created"
|
|
208
|
+
schema:
|
|
209
|
+
describe: "Manage custom object schemas"
|
|
210
|
+
subcommands:
|
|
211
|
+
create:
|
|
212
|
+
describe: "Create a custom object schema"
|
|
213
|
+
errors:
|
|
214
|
+
creationFailed: "Schema creation from {{ definition }} failed"
|
|
215
|
+
positionals:
|
|
216
|
+
definition:
|
|
217
|
+
describe: "Local path to the JSON file containing the schema definition"
|
|
218
|
+
success:
|
|
219
|
+
schemaCreated: "Your schema has been created in account \"{{ accountId }}\""
|
|
220
|
+
schemaViewable: "Schema can be viewed at {{ url }}"
|
|
221
|
+
delete:
|
|
222
|
+
describe: "Delete a custom object schema"
|
|
223
|
+
errors:
|
|
224
|
+
delete: "Unable to delete {{ name }}"
|
|
225
|
+
examples:
|
|
226
|
+
default: "Delete \"schemaName\" schema"
|
|
227
|
+
positionals:
|
|
228
|
+
name:
|
|
229
|
+
describe: "Name of the target schema"
|
|
230
|
+
success:
|
|
231
|
+
delete: "Successfully initiated deletion of {{ name }}"
|
|
232
|
+
fetchAll:
|
|
233
|
+
describe: "Fetch all custom object schemas for an account"
|
|
234
|
+
errors:
|
|
235
|
+
fetch: "Unable to fetch schemas"
|
|
236
|
+
examples:
|
|
237
|
+
default: "Fetch all schemas for an account and put them in the current working directory"
|
|
238
|
+
specifyPath: "Fetch all schemas for an account and put them in a directory named my/folder"
|
|
239
|
+
positionals:
|
|
240
|
+
dest:
|
|
241
|
+
describe: "Local folder where schemas will be written"
|
|
242
|
+
success:
|
|
243
|
+
fetch: "Saved schemas to {{ path }}"
|
|
244
|
+
fetch:
|
|
245
|
+
describe: "Fetch a custom object schema"
|
|
246
|
+
errors:
|
|
247
|
+
fetch: "Unable to fetch {{ name }}"
|
|
248
|
+
examples:
|
|
249
|
+
default: "Fetch \"schemaId\" schema and put it in the current working directory"
|
|
250
|
+
specifyPath: "Fetch \"schemaId\" schema and put it in a directory named my/folder"
|
|
251
|
+
positionals:
|
|
252
|
+
dest:
|
|
253
|
+
describe: "Local folder where schema will be written"
|
|
254
|
+
name:
|
|
255
|
+
describe: "Name of the target schema"
|
|
256
|
+
success:
|
|
257
|
+
save: "The schema \"{{ name }}\" has been saved to \"{{ path }}\""
|
|
258
|
+
savedToPath: "Saved schema to {{ path }}"
|
|
259
|
+
list:
|
|
260
|
+
describe: "List schemas available on your account"
|
|
261
|
+
errors:
|
|
262
|
+
list: "Unable to list schemas"
|
|
263
|
+
update:
|
|
264
|
+
describe: "Update an existing custom object schema"
|
|
265
|
+
errors:
|
|
266
|
+
update: "Schema update from {{ definition }} failed"
|
|
267
|
+
positionals:
|
|
268
|
+
definition:
|
|
269
|
+
describe: "Local path to the JSON file containing the schema definition"
|
|
270
|
+
name:
|
|
271
|
+
describe: "Name of the target schema"
|
|
272
|
+
success:
|
|
273
|
+
update: "Your schema has been updated in account \"{{ accountId }}\""
|
|
274
|
+
viewAtUrl: "Schema can be viewed at {{ url }}"
|
|
275
|
+
fetch:
|
|
276
|
+
describe: "Fetch a file, directory or module from HubSpot and write to a path on your computer."
|
|
277
|
+
errors:
|
|
278
|
+
sourceRequired: "A source to fetch is required."
|
|
279
|
+
options:
|
|
280
|
+
staging:
|
|
281
|
+
describe: "Retrieve staged changes for project"
|
|
282
|
+
assetVersion:
|
|
283
|
+
describe: "Specify what version of a default asset to fetch"
|
|
284
|
+
positionals:
|
|
285
|
+
dest:
|
|
286
|
+
describe: "Local directory you would like the files to be placed in, relative to your current working directory"
|
|
287
|
+
src:
|
|
288
|
+
describe: "Path in HubSpot Design Tools"
|
|
289
|
+
filemanager:
|
|
290
|
+
describe: "Commands for working with the File Manager."
|
|
291
|
+
subcommands:
|
|
292
|
+
fetch:
|
|
293
|
+
describe: "Download a folder or file from the HubSpot File Manager to your computer"
|
|
1160
294
|
errors:
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
accountNameExists: "Account with name \"{{ name }}\" already exists in the CLI config, please enter a different name."
|
|
1173
|
-
downloadProjectPrompt:
|
|
1174
|
-
selectProject: "Select a project to download:"
|
|
295
|
+
sourceRequired: "A source to fetch is required."
|
|
296
|
+
options:
|
|
297
|
+
includeArchived:
|
|
298
|
+
describe: "Include files that have been marked as \"archived\""
|
|
299
|
+
positionals:
|
|
300
|
+
dest:
|
|
301
|
+
describe: "Path in HubSpot Design Tools"
|
|
302
|
+
src:
|
|
303
|
+
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"
|
|
304
|
+
upload:
|
|
305
|
+
describe: "Upload a folder or file from your computer to the HubSpot File Manager"
|
|
1175
306
|
errors:
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
307
|
+
destinationRequired: "A destination path needs to be passed"
|
|
308
|
+
fileIgnored: "The file \"{{ path }}\" is being ignored via an .hsignore rule"
|
|
309
|
+
invalidPath: "The path \"{{ path }}\" is not a path to a file or folder"
|
|
310
|
+
upload: "Uploading file \"{{ src }}\" to \"{{ dest }}\" failed"
|
|
311
|
+
uploadingFailed: "Uploading failed"
|
|
312
|
+
logs:
|
|
313
|
+
uploading: "Uploading files from \"{{ src }}\" to \"{{ dest }}\" in the File Manager of account {{ accountId }}"
|
|
314
|
+
positionals:
|
|
315
|
+
dest:
|
|
316
|
+
describe: "Path in HubSpot Design Tools, can be a net new path"
|
|
317
|
+
src:
|
|
318
|
+
describe: "Path to the local file, relative to your current working directory"
|
|
319
|
+
success:
|
|
320
|
+
upload: "Uploaded file from \"{{ src }}\" to \"{{ dest }}\" in the File Manager of account {{ accountId }}"
|
|
321
|
+
uploadComplete: "Uploading files to \"{{ dest }}\" in the File Manager is complete"
|
|
322
|
+
functions:
|
|
323
|
+
describe: "Commands for working with functions."
|
|
324
|
+
subcommands:
|
|
325
|
+
deploy:
|
|
326
|
+
debug:
|
|
327
|
+
startingBuildAndDeploy: "Starting build and deploy for .functions folder with path: {{ functionPath }}"
|
|
1180
328
|
errors:
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
329
|
+
buildError: "Build error: {{ details }}"
|
|
330
|
+
noPackageJson: "Unable to find package.json for function {{ functionPath }}."
|
|
331
|
+
notFunctionsFolder: "Specified path {{ functionPath }} is not a .functions folder."
|
|
332
|
+
examples:
|
|
333
|
+
default: "Build and deploy a new bundle for all functions within the myFunctionFolder.functions folder"
|
|
334
|
+
loading: "Building and deploying bundle for \"{{ functionPath }}\" on account \"{{ accountId }}\".\n"
|
|
335
|
+
positionals:
|
|
336
|
+
path:
|
|
337
|
+
describe: "Path to .functions folder"
|
|
338
|
+
success:
|
|
339
|
+
deployed: "Built and deployed bundle from package.json for {{ functionPath }} on account {{ accountId }} in {{ buildTimeSeconds }}s."
|
|
340
|
+
list:
|
|
341
|
+
debug:
|
|
342
|
+
gettingFunctions: "Getting currently deployed functions"
|
|
343
|
+
describe: "List currently deployed functions"
|
|
344
|
+
info:
|
|
345
|
+
noFunctions: "No functions found"
|
|
346
|
+
options:
|
|
347
|
+
json:
|
|
348
|
+
describe: "output raw json data"
|
|
349
|
+
server:
|
|
350
|
+
debug:
|
|
351
|
+
startingServer: "Starting local test server for .functions folder with path: {{ functionPath }}"
|
|
352
|
+
examples:
|
|
353
|
+
default: "Run a local function test server."
|
|
354
|
+
options:
|
|
355
|
+
contact:
|
|
356
|
+
describe: "Pass contact data to the test function"
|
|
357
|
+
logOutput:
|
|
358
|
+
describe: "Output the response body from the serverless function execution (It is suggested not to use this in production environments as it can reveal any secure data returned by the function in logs)"
|
|
359
|
+
port:
|
|
360
|
+
describe: "Port to run the test server on"
|
|
361
|
+
watch:
|
|
362
|
+
describe: "Watch the specified .functions folder for changes and restart the server"
|
|
363
|
+
positionals:
|
|
364
|
+
path:
|
|
365
|
+
describe: "Path to local .functions folder"
|
|
366
|
+
hubdb:
|
|
367
|
+
describe: "Manage HubDB tables."
|
|
368
|
+
subcommands:
|
|
369
|
+
clear:
|
|
370
|
+
describe: "Clear all rows in a HubDB table"
|
|
371
|
+
logs:
|
|
372
|
+
removedRows: "Removed {{ deletedRowCount }} rows from HubDB table {{ tableId }}"
|
|
373
|
+
rowCount: "HubDB table {{ tableId }} now contains {{ rowCount }} rows"
|
|
374
|
+
tableEmpty: "HubDB table {{ tableId }} is already empty"
|
|
375
|
+
positionals:
|
|
376
|
+
tableId:
|
|
377
|
+
describe: "HubDB Table ID"
|
|
378
|
+
create:
|
|
379
|
+
describe: "Create a HubDB table"
|
|
1185
380
|
errors:
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
accountNameExists: "Account with name \"{{ name }}\" already exists in the CLI config, please enter a different name."
|
|
1195
|
-
selectAccountName: "Select the sandbox account you want to delete"
|
|
1196
|
-
selectParentAccountName: "Select the account that the sandbox belongs to"
|
|
1197
|
-
type:
|
|
1198
|
-
message: "What type of sandbox would you like to create?"
|
|
1199
|
-
developer: "Development sandbox (Isolated environment for developers)"
|
|
1200
|
-
standard: "Standard sandbox (Testing environment for all Super Admins)"
|
|
1201
|
-
uploadPrompt:
|
|
1202
|
-
enterDest: "[--dest] Enter the destination path: "
|
|
1203
|
-
enterSrc: "[--src] Enter the source path: "
|
|
381
|
+
create: "Creating the table at \"{{ src }}\" failed"
|
|
382
|
+
positionals:
|
|
383
|
+
src:
|
|
384
|
+
describe: "Local path to file used for import"
|
|
385
|
+
success:
|
|
386
|
+
create: "The table {{ tableId }} was created in {{ accountId }} with {{ rowCount }} rows"
|
|
387
|
+
delete:
|
|
388
|
+
describe: "Delete a HubDB table"
|
|
1204
389
|
errors:
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
390
|
+
delete: "Deleting the table {{ tableId }} failed"
|
|
391
|
+
positionals:
|
|
392
|
+
tableId:
|
|
393
|
+
describe: "HubDB Table ID"
|
|
394
|
+
success:
|
|
395
|
+
delete: "The table {{ tableId }} was deleted from {{ accountId }}"
|
|
396
|
+
fetch:
|
|
397
|
+
describe: "Fetch a HubDB table"
|
|
398
|
+
positionals:
|
|
399
|
+
dest:
|
|
400
|
+
describe: "Local destination folder to fetch table to"
|
|
401
|
+
tableId:
|
|
402
|
+
describe: "HubDB Table ID"
|
|
403
|
+
success:
|
|
404
|
+
fetch: "Downloaded HubDB table {{ tableId }} to {{ path }}"
|
|
405
|
+
init:
|
|
406
|
+
describe: "Initialize {{ configName }} for a HubSpot account."
|
|
407
|
+
options:
|
|
408
|
+
auth:
|
|
409
|
+
describe: "Specify auth method to use [\"personalaccesskey\", \"oauth2\"]"
|
|
410
|
+
defaultDescription: "\"{{ defaultType }}\": \nAn access token tied to a specific user account. This is the recommended way of authenticating with local development tools."
|
|
411
|
+
account:
|
|
412
|
+
describe: "HubSpot account to authenticate"
|
|
413
|
+
success:
|
|
414
|
+
configFileCreated: "Created config file \"{{ configPath }}\""
|
|
415
|
+
configFileUpdated: "Connected account \"{{ account }}\" using \"{{ authType }}\" and set it as the default account"
|
|
416
|
+
logs:
|
|
417
|
+
updateConfig: "To update an existing config file, use the \"hs auth\" command."
|
|
418
|
+
errors:
|
|
419
|
+
configFileExists: "The config file {{ configPath }} already exists."
|
|
420
|
+
lint:
|
|
421
|
+
issuesFound: "{{ count }} issues found."
|
|
422
|
+
groupName: "Linting {{ path }}"
|
|
423
|
+
positionals:
|
|
424
|
+
path:
|
|
425
|
+
describe: "Local folder to lint"
|
|
426
|
+
list:
|
|
427
|
+
describe: "List remote contents of a directory."
|
|
428
|
+
gettingPathContents: "Getting contents of {{ path }}."
|
|
429
|
+
noFilesFoundAtPath: "No files found in {{ path }}."
|
|
430
|
+
positionals:
|
|
431
|
+
path:
|
|
432
|
+
describe: "Remote directory to list contents"
|
|
433
|
+
logs:
|
|
434
|
+
describe: "Get logs for a function."
|
|
435
|
+
errors:
|
|
436
|
+
noLogsFound: "No logs were found for the function path \"{{ functionPath }}\" in account \"{{ accountId }}\"."
|
|
437
|
+
examples:
|
|
438
|
+
default: "Get 5 most recent logs for function residing at /_hcms/api/my-endpoint"
|
|
439
|
+
follow: "Poll for and output logs for function residing at /_hcms/api/my-endpoint immediately upon new execution"
|
|
440
|
+
limit: "Get 10 most recent logs for function residing at /_hcms/api/my-endpoint"
|
|
441
|
+
gettingLogs: "Getting {{#if latest}}latest {{/if}}logs for function with path: {{ functionPath }}."
|
|
442
|
+
options:
|
|
443
|
+
compact:
|
|
444
|
+
describe: "output compact logs"
|
|
445
|
+
follow:
|
|
446
|
+
describe: "follow logs"
|
|
447
|
+
latest:
|
|
448
|
+
describe: "retrieve most recent log only"
|
|
449
|
+
limit:
|
|
450
|
+
describe: "limit the number of logs to output"
|
|
451
|
+
positionals:
|
|
452
|
+
endpoint:
|
|
453
|
+
describe: "Serverless function endpoint"
|
|
454
|
+
tailLogs: "Waiting for log entries for \"{{ functionPath }}\" on account \"{{ accountId }}\".\n"
|
|
455
|
+
mv:
|
|
456
|
+
describe: "Move a remote file or folder in HubSpot. This feature is currently in beta and the CLI contract is subject to change."
|
|
457
|
+
errors:
|
|
458
|
+
sourcePathExists: "The folder \"{{ srcPath }}\" already exists in \"{{ destPath }}\"."
|
|
459
|
+
moveFailed: "Moving \"{{ srcPath }}\" to \"{{ destPath }}\" in account {{ accountId }} failed"
|
|
460
|
+
move: "Moved \"{{ srcPath }}\" to \"{{ destPath }}\" in account {{ accountId }}"
|
|
461
|
+
open:
|
|
462
|
+
describe: "Open a HubSpot page in your browser. Run \"hs open list\" to see all available shortcuts."
|
|
463
|
+
options:
|
|
464
|
+
list:
|
|
465
|
+
describe: "List all supported shortcuts"
|
|
466
|
+
positionals:
|
|
467
|
+
shortcut:
|
|
468
|
+
describe: "Shortcut of the link you'd like to open"
|
|
469
|
+
selectLink: "Select a link to open"
|
|
470
|
+
project:
|
|
471
|
+
describe: "Commands for working with projects. For more information, visit our documentation: https://developers.hubspot.com/docs/platform/build-and-deploy-using-hubspot-projects"
|
|
472
|
+
subcommands:
|
|
473
|
+
dev:
|
|
474
|
+
describe: "Start local dev for the current project"
|
|
475
|
+
logs:
|
|
476
|
+
betaMessage: "HubSpot projects local development"
|
|
477
|
+
placeholderAccountSelection: "Using default account as target account (for now)"
|
|
1210
478
|
errors:
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
479
|
+
noProjectConfig: "No project detected. Please run this command again from a project directory."
|
|
480
|
+
invalidProjectComponents: "Projects cannot contain both private and public apps. Move your apps to separate projects before attempting local development."
|
|
481
|
+
parentAccountNotConfigured: "To develop this project locally, run {{ authCommand }} to authenticate the App Developer Account {{ accountId }} associated with {{ accountIdentifier }}."
|
|
482
|
+
examples:
|
|
483
|
+
default: "Start local dev for the current project"
|
|
484
|
+
create:
|
|
485
|
+
describe: "Create a new project"
|
|
486
|
+
logs:
|
|
487
|
+
welcomeMessage: "Welcome to HubSpot Developer Projects!"
|
|
488
|
+
examples:
|
|
489
|
+
default: "Create a new project"
|
|
490
|
+
options:
|
|
491
|
+
location:
|
|
492
|
+
describe: "Directory where project should be created"
|
|
493
|
+
name:
|
|
494
|
+
describe: "Project name (cannot be changed)"
|
|
495
|
+
template:
|
|
496
|
+
describe: "The starting template"
|
|
497
|
+
templateSource:
|
|
498
|
+
describe: "Path to custom GitHub repository from which to create project template"
|
|
499
|
+
add:
|
|
500
|
+
describe: "Create a new component within a project"
|
|
501
|
+
options:
|
|
502
|
+
name:
|
|
503
|
+
describe: "Component name"
|
|
504
|
+
type:
|
|
505
|
+
describe: "The type of component"
|
|
506
|
+
creatingComponent:
|
|
507
|
+
message: "Adding a new component to your project"
|
|
508
|
+
success:
|
|
509
|
+
message: "{{ componentName }} was added to your project"
|
|
510
|
+
error:
|
|
511
|
+
locationInProject: "The component location must be within a project folder"
|
|
512
|
+
examples:
|
|
513
|
+
default: "Create a component within your project"
|
|
514
|
+
deploy:
|
|
515
|
+
describe: "Deploy a project build"
|
|
516
|
+
debug:
|
|
517
|
+
deploying: "Deploying project at path: {{ path }}"
|
|
1222
518
|
errors:
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
519
|
+
deploy: "Deploy error: {{ details }}"
|
|
520
|
+
noBuilds: "Deploy error: no builds for this project were found."
|
|
521
|
+
noBuildId: "You must specify a build to deploy"
|
|
522
|
+
projectNotFound: "{{ projectName }} does not exist in account {{ accountIdentifier }}. Run {{ command }} to upload your project files to HubSpot."
|
|
523
|
+
examples:
|
|
524
|
+
default: "Deploy the latest build of the current project"
|
|
525
|
+
withOptions: "Deploy build 5 of the project my-project"
|
|
526
|
+
options:
|
|
527
|
+
buildId:
|
|
528
|
+
describe: "Project build ID to be deployed"
|
|
529
|
+
project:
|
|
530
|
+
describe: "Project name"
|
|
531
|
+
listBuilds:
|
|
532
|
+
describe: "List the project's builds"
|
|
533
|
+
logs:
|
|
534
|
+
describe: "Get execution logs for a serverless function within a project"
|
|
1229
535
|
errors:
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
536
|
+
invalidAppName: "Could not find app with name \"{{ appName }}\" in project \"{{ projectName }}\""
|
|
537
|
+
logs:
|
|
538
|
+
showingLogs: "Showing logs for:"
|
|
539
|
+
hubspotLogsLink: "View private apps in HubSpot"
|
|
540
|
+
hubspotLogsDirectLink: "View logs in HubSpot"
|
|
541
|
+
noLogsFound: "No logs were found for \"{{ name }}\""
|
|
542
|
+
table:
|
|
543
|
+
accountHeader: "Account"
|
|
544
|
+
projectHeader: "Project"
|
|
545
|
+
appHeader: "App"
|
|
546
|
+
functionHeader: "Function"
|
|
547
|
+
endpointHeader: "Endpoint"
|
|
548
|
+
examples:
|
|
549
|
+
default: "Open the project logs prompt to get logs for a serverless function"
|
|
550
|
+
withOptions: "Get logs for function named \"my-function\" within the app named \"app\" within the project named \"my-project\""
|
|
1239
551
|
options:
|
|
1240
|
-
|
|
1241
|
-
|
|
552
|
+
app:
|
|
553
|
+
describe: "App name"
|
|
554
|
+
compact:
|
|
555
|
+
describe: "Output compact logs"
|
|
556
|
+
tail:
|
|
557
|
+
describe: "Tail logs"
|
|
558
|
+
latest:
|
|
559
|
+
describe: "Retrieve most recent log only"
|
|
560
|
+
limit:
|
|
561
|
+
describe: "Limit the number of logs to output"
|
|
562
|
+
project:
|
|
563
|
+
describe: "Project name"
|
|
564
|
+
function:
|
|
565
|
+
describe: "App function name"
|
|
566
|
+
endpoint:
|
|
567
|
+
describe: "Public endpoint path"
|
|
568
|
+
upload:
|
|
569
|
+
describe: "Upload your project files and create a new build"
|
|
570
|
+
examples:
|
|
571
|
+
default: "Upload a project"
|
|
572
|
+
logs:
|
|
573
|
+
buildSucceeded: "Build #{{ buildId }} succeeded\n"
|
|
574
|
+
readyToGoLive: "🚀 Ready to take your project live?"
|
|
575
|
+
runCommand: "Run `{{ command }}`"
|
|
576
|
+
errors:
|
|
577
|
+
projectLockedError: "Your project is locked. This may mean that another user is running the {{#bold}}`hs project dev`{{/bold}} command for this project. If this is you, unlock the project in Projects UI."
|
|
578
|
+
options:
|
|
579
|
+
forceCreate:
|
|
580
|
+
describe: "Automatically create project if it does not exist"
|
|
581
|
+
message:
|
|
582
|
+
describe: "Add a message when you upload your project and create a build"
|
|
583
|
+
positionals:
|
|
584
|
+
path:
|
|
585
|
+
describe: "Path to a project folder"
|
|
586
|
+
watch:
|
|
587
|
+
describe: "Watch your local project for changes and automatically upload changed files to a new build in HubSpot"
|
|
588
|
+
examples:
|
|
589
|
+
default: "Watch a project within the myProjectFolder folder"
|
|
590
|
+
logs:
|
|
591
|
+
processExited: "Stopping watcher..."
|
|
592
|
+
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}}."
|
|
593
|
+
resuming: "Resuming watcher..."
|
|
594
|
+
uploadSucceeded: "Uploaded file \"{{ filePath }}\" to \"{{ remotePath }}\""
|
|
595
|
+
deleteFileSucceeded: "Deleted file \"{{ remotePath }}\""
|
|
596
|
+
deleteFolderSucceeded: "Deleted folder \"{{ remotePath }}\""
|
|
597
|
+
watching: "Watcher is ready and watching \"{{ projectDir }}\". Any changes detected will be automatically uploaded."
|
|
598
|
+
previousStagingBuildCancelled: "Killed the previous watch process. Please try running `hs project watch` again"
|
|
599
|
+
positionals:
|
|
600
|
+
path:
|
|
601
|
+
describe: "Path to a project folder"
|
|
602
|
+
options:
|
|
603
|
+
initialUpload:
|
|
604
|
+
describe: "Upload directory before watching for updates"
|
|
605
|
+
debug:
|
|
606
|
+
pause: "Pausing watcher, attempting to queue build"
|
|
607
|
+
buildStarted: "Build queued."
|
|
608
|
+
extensionNotAllowed: "Skipping \"{{ filePath }}\" due to unsupported extension"
|
|
609
|
+
ignored: "Skipping \"{{ filePath }}\" due to an ignore rule"
|
|
610
|
+
uploading: "Attempting to upload file \"{{ filePath }}\" to \"{{ remotePath }}\""
|
|
611
|
+
attemptNewBuild: "Attempting to create a new build"
|
|
612
|
+
fileAlreadyQueued: "File \"{{ filePath }}\" is already queued for upload"
|
|
613
|
+
errors:
|
|
614
|
+
uploadFailed: "Failed to upload file \"{{ filePath }}\" to \"{{ remotePath }}\""
|
|
615
|
+
deleteFileFailed: "Failed to delete file \"{{ remotePath }}\""
|
|
616
|
+
deleteFolderFailed: "Failed to delete folder \"{{ remotePath }}\""
|
|
617
|
+
download:
|
|
618
|
+
describe: "Download your project files from HubSpot and write to a path on your computer"
|
|
619
|
+
examples:
|
|
620
|
+
default: "Download the project myProject into myProjectFolder folder"
|
|
621
|
+
logs:
|
|
622
|
+
downloadCancelled: "Cancelling project download"
|
|
623
|
+
downloadSucceeded: "Downloaded build \"{{ buildId }}\" from project \"{{ projectName }}\""
|
|
624
|
+
errors:
|
|
625
|
+
downloadFailed: "Something went wrong downloading the project"
|
|
626
|
+
projectNotFound: "Your project {{ projectName }} could not be found in {{ accountId }}"
|
|
627
|
+
warnings:
|
|
628
|
+
cannotDownloadWithinProject: "Cancelling project download. Please run the command again outside the context of an existing project."
|
|
629
|
+
options:
|
|
630
|
+
buildNumber:
|
|
631
|
+
describe: "The build number to download"
|
|
632
|
+
project:
|
|
633
|
+
describe: "The name of the project to download"
|
|
634
|
+
dest:
|
|
635
|
+
describe: "Destination folder for the project"
|
|
636
|
+
open:
|
|
637
|
+
describe: "Open the specified project's details page in the browser"
|
|
638
|
+
options:
|
|
639
|
+
project:
|
|
640
|
+
describe: "Name of project to open"
|
|
641
|
+
examples:
|
|
642
|
+
default: "Opens the projects page for the specified account"
|
|
643
|
+
success: "Successfully opened \"{{ projectName }}\""
|
|
644
|
+
feedback:
|
|
645
|
+
describe: "Leave feedback on HubSpot projects or file a bug report"
|
|
646
|
+
success: "We opened {{ url }} in your browser."
|
|
647
|
+
options:
|
|
648
|
+
bug:
|
|
649
|
+
describe: "Open Github issues in your browser to report a bug."
|
|
650
|
+
general:
|
|
651
|
+
describe: "Open the projects feedback form in your browser."
|
|
652
|
+
remove:
|
|
653
|
+
describe: "Delete a file or folder from HubSpot."
|
|
654
|
+
deleted: "Deleted \"{{ path }}\" from account {{ accountId }}"
|
|
655
|
+
errors:
|
|
656
|
+
deleteFailed: "Deleting \"{{ path }}\" from account {{ accountId }} failed"
|
|
657
|
+
positionals:
|
|
658
|
+
path:
|
|
659
|
+
describe: "Remote hubspot path"
|
|
660
|
+
sandbox:
|
|
661
|
+
describe: "Commands for working with sandboxes."
|
|
662
|
+
subcommands:
|
|
1242
663
|
create:
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
664
|
+
describe: "Create a sandbox account"
|
|
665
|
+
examples:
|
|
666
|
+
default: "Creates a standard sandbox account named MySandboxAccount."
|
|
667
|
+
force: "Skips all confirmation prompts when creating a sandbox account."
|
|
668
|
+
debug:
|
|
669
|
+
error: "Error creating sandbox:"
|
|
670
|
+
info:
|
|
671
|
+
auth: "Run `hs auth` to authenticate with the new sandbox account."
|
|
672
|
+
options:
|
|
673
|
+
name:
|
|
674
|
+
describe: "Name to use for created sandbox"
|
|
675
|
+
type:
|
|
676
|
+
describe: "Type of sandbox to create (standard | development)"
|
|
1249
677
|
failure:
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
\n-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
succeed: "Successfully created a standard sandbox {{#bold}}{{ name }}{{/bold}} with portalId {{#bold}}{{ sandboxHubId }}{{/bold}}."
|
|
678
|
+
optionMissing:
|
|
679
|
+
type: "Invalid or missing sandbox --type option in command. Please try again."
|
|
680
|
+
name: "Invalid or missing sandbox --name option in command. Please try again."
|
|
681
|
+
invalidAccountType: "Sandboxes must be created from a production account. Your current default account {{#bold}}{{ accountName }}{{/bold}} is a {{ accountType }}.
|
|
682
|
+
\n- Run {{#bold}}hs accounts use{{/bold}} to switch to your default account to your production account.
|
|
683
|
+
\n- Run {{#bold}}hs auth{{/bold}} to connect a production account to the HubSpot CLI.\n"
|
|
684
|
+
delete:
|
|
685
|
+
describe: "Delete a sandbox account"
|
|
686
|
+
debug:
|
|
687
|
+
deleting: "Deleting sandbox account \"{{ account }}\""
|
|
688
|
+
error: "Error deleting sandbox account:"
|
|
689
|
+
examples:
|
|
690
|
+
default: "Deletes the sandbox account named MySandboxAccount."
|
|
691
|
+
force: "Skips all confirmation prompts when deleting a sandbox account."
|
|
692
|
+
confirm: "Delete sandbox {{#bold}}{{ account }}{{/bold}}? All data for this sandbox will be permanently deleted."
|
|
693
|
+
defaultAccountWarning: "The sandbox {{#bold}}{{ account }}{{/bold}} is currently set as the default account."
|
|
694
|
+
success:
|
|
695
|
+
delete: "Sandbox \"{{ account }}\" with portalId \"{{ sandboxHubId }}\" was deleted successfully."
|
|
696
|
+
deleteDefault: "Sandbox \"{{ account }}\" with portalId \"{{ sandboxHubId }}\" was deleted successfully and removed as the default account."
|
|
697
|
+
configFileUpdated: "Removed account {{ account }} from {{ configFilename }}."
|
|
1271
698
|
failure:
|
|
1272
|
-
invalidUser: "Couldn't
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
standard:
|
|
1283
|
-
one: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} standard sandbox.
|
|
1284
|
-
\n- View sandbox details at {{ link }}
|
|
1285
|
-
\n- To connect a sandbox to your HubSpot CLI, run {{#bold}}hs auth{{/bold}} and follow the prompts."
|
|
1286
|
-
other: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} standard sandboxes.
|
|
1287
|
-
\n- View sandbox details at {{ link }}
|
|
1288
|
-
\n- To connect a sandbox to your HubSpot CLI, run {{#bold}}hs auth{{/bold}} and follow the prompts."
|
|
1289
|
-
alreadyInConfig:
|
|
1290
|
-
developer:
|
|
1291
|
-
one: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} development sandbox per account.
|
|
1292
|
-
\n- To use an existing development sandbox, run {{#bold}}hs accounts use{{/bold}}.
|
|
1293
|
-
\n- To delete an existing sandbox, run {{#bold}}hs sandbox delete{{/bold}}."
|
|
1294
|
-
other: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} development sandboxes per account.
|
|
1295
|
-
\n- To use an existing development sandbox, run {{#bold}}hs accounts use{{/bold}}.
|
|
1296
|
-
\n- To delete an existing sandbox, run {{#bold}}hs sandbox delete{{/bold}}."
|
|
1297
|
-
standard:
|
|
1298
|
-
one: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} standard sandbox per account.
|
|
1299
|
-
\n- To use an existing standard sandbox, run {{#bold}}hs accounts use{{/bold}}.
|
|
1300
|
-
\n- To delete an existing sandbox, run {{#bold}}hs sandbox delete{{/bold}}."
|
|
1301
|
-
other: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} standard sandboxes per account.
|
|
1302
|
-
\n- To use an existing standard sandbox, run {{#bold}}hs accounts use{{/bold}}.
|
|
1303
|
-
\n- To delete an existing sandbox, run {{#bold}}hs sandbox delete{{/bold}}."
|
|
1304
|
-
scopes:
|
|
1305
|
-
message: "The personal access key you provided doesn't include sandbox permissions."
|
|
1306
|
-
instructions: "To update CLI permissions for \"{{ accountName }}\":
|
|
1307
|
-
\n- Go to {{ url }}, deactivate the existing personal access key, and create a new one that includes Sandboxes permissions.
|
|
1308
|
-
\n- Update the CLI config for this account by running {{#bold}}hs auth{{/bold}} and entering the new key.\n"
|
|
699
|
+
invalidUser: "Couldn't delete {{ accountName }} because your account has been removed from {{ parentAccountName }} or your permission set doesn't allow you to delete the sandbox. To update your permissions, contact a super admin in {{ parentAccountName }}."
|
|
700
|
+
noAccount: "No account specified. Specify an account by using the --account flag."
|
|
701
|
+
noSandboxAccounts: "There are no sandboxes connected to the CLI. To add a sandbox, run {{#bold}}hs auth{{/bold}}."
|
|
702
|
+
noParentAccount: "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}}hs auth{{/bold}} and add the parent account."
|
|
703
|
+
objectNotFound: "Sandbox {{#bold}}{{ account }}{{/bold}} may have been deleted through the UI. The account has been removed from the config."
|
|
704
|
+
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}}."
|
|
705
|
+
invalidKey: "Your personal access key for account {{#bold}}{{ account }}{{/bold}} is inactive. To re-authenticate, please run {{#bold}}hs auth personalaccesskey{{/bold}}."
|
|
706
|
+
options:
|
|
707
|
+
account:
|
|
708
|
+
describe: "Account name or id to delete"
|
|
1309
709
|
sync:
|
|
710
|
+
describe: "Sync to a sandbox account"
|
|
711
|
+
examples:
|
|
712
|
+
default: "Initiates a sync to a sandbox account."
|
|
713
|
+
force: "Skips all confirmation prompts when initiating a sync."
|
|
1310
714
|
info:
|
|
1311
|
-
|
|
1312
|
-
|
|
715
|
+
developmentSandbox: "This will sync CRM object definitions."
|
|
716
|
+
standardSandbox: "This will sync all supported assets.
|
|
717
|
+
\nTo sync only specific assets, follow this link: {{#bold}}{{ url }}{{/bold}}"
|
|
718
|
+
sync: "\nSync direction:
|
|
719
|
+
\n- Target sandbox: {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}}
|
|
720
|
+
\n- Source account: {{#bold}}{{ parentAccountName }}{{/bold}}
|
|
721
|
+
\n\nRun {{#bold}}hs accounts use{{/bold}} to change your default account and sync to a different target sandbox."
|
|
722
|
+
warning:
|
|
723
|
+
developmentSandbox: "Syncing will update previously synced object definitions and add new ones from production to your development sandbox. Object definitions that were created in your sandbox will stay the same."
|
|
724
|
+
standardSandbox: "Syncing can have a big impact. Updates from your production account may overwrite changes in your standard sandbox. Standard sandboxes are usually shared with other Super Admins."
|
|
1313
725
|
confirm:
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
developer: "Sync CRM object definitions to {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}} from {{#bold}}{{ parentAccountName }}{{/bold}}?"
|
|
1317
|
-
syncContactRecords:
|
|
1318
|
-
standard: "Include up to 5000 most recently updated contacts? This includes up to 100 of each of the following: associated deals, tickets, and companies. This can be done once per sandbox."
|
|
1319
|
-
developer: "Include up to 100 most recently updated contacts? This includes up to 100 of each of the following: associated deals, tickets, and companies. This can be done once per sandbox."
|
|
1320
|
-
loading:
|
|
1321
|
-
startSync: "Initiating sync..."
|
|
1322
|
-
fail: "Failed to sync sandbox."
|
|
1323
|
-
succeed: "Sandbox sync initiated to {{ accountName }}."
|
|
1324
|
-
skipPolling: "Syncing CRM object definitions."
|
|
1325
|
-
skipPollingWithContacts: "Syncing CRM object definitions and up to 100 most recently updated contacts with associated deals, tickets, and companies (up to 100 each)."
|
|
1326
|
-
polling:
|
|
1327
|
-
syncing: "Syncing sandbox..."
|
|
1328
|
-
fail: "Failed to fetch sync updates. View the sync status at: {{ url }}"
|
|
1329
|
-
succeed: "Sandbox sync complete."
|
|
726
|
+
developmentSandbox: "Sync CRM object definitions to {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}} from {{#bold}}{{ parentAccountName }}{{/bold}}?"
|
|
727
|
+
standardSandbox: "Sync all supported assets to {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}} from {{#bold}}{{ parentAccountName }}{{/bold}}?"
|
|
1330
728
|
failure:
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
729
|
+
invalidAccountType: "Sync must be run in a sandbox account. Your default account is a {{ accountType }}. Run {{#bold}}hs auth{{/bold}} to connect your sandbox account to the CLI or {{#bold}}hs accounts use{{/bold}} to change your default account, then try again."
|
|
730
|
+
missingParentPortal: "The production account associated to {{#bold}}{{ sandboxName }}{{/bold}} is not connected to your HubSpot CLI.
|
|
731
|
+
\n- Run {{#bold}}hs auth{{/bold}} to connect that account to your terminal, then try again.
|
|
732
|
+
\n- Run {{#bold}}hs accounts use{{/bold}} to change your default account, if you want to sync to a different sandbox. Then try again.\n"
|
|
733
|
+
secrets:
|
|
734
|
+
describe: "Manage HubSpot secrets."
|
|
735
|
+
subcommands:
|
|
736
|
+
add:
|
|
737
|
+
describe: "Add a HubSpot secret"
|
|
738
|
+
errors:
|
|
739
|
+
add: "The secret \"{{ secretName }}\" was not added"
|
|
740
|
+
positionals:
|
|
741
|
+
name:
|
|
742
|
+
describe: "Name of the secret"
|
|
743
|
+
success:
|
|
744
|
+
add: "The secret \"{{ secretName }}\" was added to the HubSpot account: {{ accountIdentifier }}"
|
|
745
|
+
delete:
|
|
746
|
+
describe: "Delete a HubSpot secret"
|
|
747
|
+
errors:
|
|
748
|
+
delete: "The secret \"{{ secretName }}\" was not deleted"
|
|
749
|
+
positionals:
|
|
750
|
+
name:
|
|
751
|
+
describe: "Name of the secret"
|
|
752
|
+
success:
|
|
753
|
+
delete: "The secret \"{{ secretName }}\" was deleted from the HubSpot account: {{ accountIdentifier }}"
|
|
754
|
+
list:
|
|
755
|
+
describe: "List all HubSpot secrets"
|
|
756
|
+
errors:
|
|
757
|
+
list: "The secrets could not be listed"
|
|
758
|
+
groupLabel: "Secrets for account {{ accountIdentifier }}:"
|
|
759
|
+
update:
|
|
760
|
+
describe: "Update an existing HubSpot secret"
|
|
761
|
+
errors:
|
|
762
|
+
update: "The secret \"{{ secretName }}\" was not updated"
|
|
763
|
+
positionals:
|
|
764
|
+
name:
|
|
765
|
+
describe: "Name of the secret to be updated"
|
|
766
|
+
success:
|
|
767
|
+
update: "The secret \"{{ secretName }}\" was updated in the HubSpot account: {{ accountIdentifier }}"
|
|
768
|
+
updateExplanation: "Existing serverless functions will start using this new value within 10 seconds."
|
|
769
|
+
theme:
|
|
770
|
+
describe: "Commands for working with themes, including marketplace validation with the marketplace-validate subcommand."
|
|
771
|
+
subcommands:
|
|
772
|
+
generateSelectors:
|
|
773
|
+
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."
|
|
774
|
+
errors:
|
|
775
|
+
invalidPath: "Could not find directory \"{{ themePath }}\""
|
|
776
|
+
fieldsNotFound: "Unable to find theme's fields.json."
|
|
777
|
+
noSelectorsFound: "No selectors found."
|
|
778
|
+
success: "Selectors generated for {{ themePath }}, please double check the selectors generated at {{ selectorsPath }} before uploading the theme."
|
|
779
|
+
positionals:
|
|
780
|
+
themePath:
|
|
781
|
+
describe: "The path of the theme you'd like to generate an editor-preview.json for."
|
|
782
|
+
marketplaceValidate:
|
|
783
|
+
describe: "Validate a theme for the marketplace"
|
|
784
|
+
errors:
|
|
785
|
+
invalidPath: "The path \"{{ path }}\" is not a path to a folder in the Design Manager"
|
|
786
|
+
logs:
|
|
787
|
+
validatingTheme: "Validating theme \"{{ path }}\" \n"
|
|
788
|
+
results:
|
|
789
|
+
required: "Required validation results:"
|
|
790
|
+
recommended: "Recommended validation results:"
|
|
791
|
+
warnings:
|
|
792
|
+
file: "File: {{ file }}"
|
|
793
|
+
lineNumber: "Line number: {{ line }}"
|
|
794
|
+
noErrors: "No errors"
|
|
795
|
+
positionals:
|
|
796
|
+
src:
|
|
797
|
+
describe: "Path to the theme within the Design Manager."
|
|
798
|
+
module:
|
|
799
|
+
describe: "Commands for working with modules, including marketplace validation with the marketplace-validate subcommand."
|
|
800
|
+
subcommands:
|
|
801
|
+
marketplaceValidate:
|
|
802
|
+
describe: "Validate a module for the marketplace. Make sure to include the suffix .module in the path to the module within the Design Manager."
|
|
803
|
+
errors:
|
|
804
|
+
invalidPath: "The path \"{{ path }}\" is not a path to a module within the Design Manager."
|
|
805
|
+
logs:
|
|
806
|
+
validatingModule: "Validating module \"{{ path }}\" \n"
|
|
807
|
+
options:
|
|
808
|
+
json:
|
|
809
|
+
describe: "Output raw json data"
|
|
810
|
+
results:
|
|
811
|
+
required: "Required validation results:"
|
|
812
|
+
recommended: "Recommended validation results:"
|
|
813
|
+
warnings:
|
|
814
|
+
file: "File: {{ file }}"
|
|
815
|
+
lineNumber: "Line number: {{ line }}"
|
|
816
|
+
noErrors: "No errors"
|
|
817
|
+
positionals:
|
|
818
|
+
src:
|
|
819
|
+
describe: "Path to the module within the Design Manager."
|
|
820
|
+
upload:
|
|
821
|
+
describe: "Upload a folder or file from your computer to the HubSpot CMS."
|
|
822
|
+
errors:
|
|
823
|
+
destinationRequired: "A destination path needs to be passed"
|
|
824
|
+
fileIgnored: "The file \"{{ path }}\" is being ignored via an .hsignore rule"
|
|
825
|
+
invalidPath: "The path \"{{ path }}\" is not a path to a file or folder"
|
|
826
|
+
uploadFailed: "Uploading file \"{{ src }}\" to \"{{ dest }}\" failed"
|
|
827
|
+
someFilesFailed: "One or more files failed to upload to \"{{ dest }}\" in the Design Manager"
|
|
828
|
+
deleteFailed: "Deleting \"{{ path }}\" from account {{ accountId }} failed"
|
|
829
|
+
options:
|
|
830
|
+
options:
|
|
831
|
+
describe: "Options to pass to javascript fields files"
|
|
832
|
+
saveOutput:
|
|
833
|
+
describe: "If true, saves all output from javascript fields files as 'fields.output.json'."
|
|
834
|
+
convertFields:
|
|
835
|
+
describe: "If true, converts any javascript fields files contained in module folder or project root."
|
|
836
|
+
clean:
|
|
837
|
+
describe: "Will cause upload to delete files in your HubSpot account that are not found locally."
|
|
838
|
+
force:
|
|
839
|
+
describe: "Skips confirmation prompts when doing a clean upload."
|
|
840
|
+
previewUrl: "To preview this theme, visit: {{ previewUrl }}"
|
|
841
|
+
positionals:
|
|
842
|
+
src:
|
|
843
|
+
describe: "Path to the local file, relative to your current working directory."
|
|
844
|
+
dest:
|
|
845
|
+
describe: "Path in HubSpot Design Tools, can be a net new path."
|
|
846
|
+
success:
|
|
847
|
+
fileUploaded: "Uploaded file from \"{{ src }}\" to \"{{ dest }}\" in the Design Manager of account {{ accountId }}"
|
|
848
|
+
uploadComplete: "Uploading files to \"{{ dest }}\" in the Design Manager is complete"
|
|
849
|
+
uploading: "Uploading files from \"{{ src }}\" to \"{{ dest }}\" in the Design Manager of account {{ accountId }}"
|
|
850
|
+
notUploaded: "There was an error processing \"{{ src }}\". The file has not been uploaded."
|
|
851
|
+
cleaning: "Removing \"{{ filePath }}\" from account {{ accountId }} and uploading local..."
|
|
852
|
+
watch:
|
|
853
|
+
describe: "Watch a directory on your computer for changes and upload the changed files to the HubSpot CMS."
|
|
854
|
+
errors:
|
|
855
|
+
destinationRequired: "A destination directory needs to be passed"
|
|
856
|
+
invalidPath: "The \"{{ path }}\" is not a path to a directory"
|
|
857
|
+
options:
|
|
858
|
+
disableInitial:
|
|
859
|
+
describe: "Disable the initial upload when watching a directory (default)"
|
|
860
|
+
initialUpload:
|
|
861
|
+
describe: "Upload directory before watching for updates"
|
|
862
|
+
notify:
|
|
863
|
+
describe: "Log to specified file when a watch task is triggered and after workers have gone idle. Ex. --notify path/to/file"
|
|
864
|
+
remove:
|
|
865
|
+
describe: "Will cause watch to delete files in your HubSpot account that are not found locally."
|
|
866
|
+
convertFields:
|
|
867
|
+
describe: "If true, converts any javascript fields files contained in module folder or project root."
|
|
868
|
+
saveOutput:
|
|
869
|
+
describe: "If true, saves all output from javascript fields files as 'fields.output.json'."
|
|
870
|
+
options:
|
|
871
|
+
describe: "Options to pass to javascript fields files"
|
|
872
|
+
positionals:
|
|
873
|
+
src:
|
|
874
|
+
describe: "Path to the local directory your files are in, relative to your current working directory"
|
|
875
|
+
dest:
|
|
876
|
+
describe: "Path in HubSpot Design Tools. Can be a net new path"
|
|
877
|
+
warnings:
|
|
878
|
+
disableInitial: "Passing the \"--disable-initial\" option is no longer necessary. Running \"hs watch\" no longer uploads the watched directory by default."
|
|
879
|
+
initialUpload: "To upload the directory run \"hs upload\" beforehand or add the \"--initial-upload\" option when running \"hs watch\"."
|
|
880
|
+
notUploaded: "The \"hs watch\" command no longer uploads the watched directory when started. The directory \"{{ path }}\" was not uploaded."
|
|
881
|
+
preview:
|
|
882
|
+
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"
|
|
883
|
+
errors:
|
|
884
|
+
invalidPath: "The path \"{{ path }}\" is not a path to a directory"
|
|
885
|
+
noThemeComponents: "Your project has no theme components available to preview."
|
|
886
|
+
options:
|
|
887
|
+
src:
|
|
888
|
+
describe: "Path to the local directory your theme is in, relative to your current working directory"
|
|
889
|
+
dest:
|
|
890
|
+
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."
|
|
891
|
+
notify:
|
|
892
|
+
describe: "Log to specified file when a watch task is triggered and after workers have gone idle. Ex. --notify path/to/file"
|
|
893
|
+
noSsl:
|
|
894
|
+
describe: "Disable HTTPS"
|
|
895
|
+
port:
|
|
896
|
+
describe: "The port on which to start the local server"
|
|
897
|
+
initialUploadProgressBar:
|
|
898
|
+
start: "Starting..."
|
|
899
|
+
uploading: "Uploading..."
|
|
900
|
+
finish: "Complete!"
|
|
901
|
+
logs:
|
|
902
|
+
processExited: "Stopping dev server..."
|
|
903
|
+
convertFields:
|
|
904
|
+
describe: "Converts a specific JavaScript fields file of a module or theme to JSON"
|
|
905
|
+
positionals:
|
|
906
|
+
src:
|
|
907
|
+
describe: Path to JS Fields file or directory containing javascript fields files.
|
|
908
|
+
options:
|
|
909
|
+
options:
|
|
910
|
+
describe: "Options to pass to javascript fields files"
|
|
911
|
+
lib:
|
|
912
|
+
process:
|
|
913
|
+
exitDebug: "Attempting to gracefully exit. Triggered by {{ signal }}"
|
|
914
|
+
DevServerManager:
|
|
915
|
+
portConflict: "The port {{ port }} is already in use."
|
|
916
|
+
notInitialized: "The Dev Server Manager must be initialized before it is started."
|
|
917
|
+
noCompatibleComponents: "Skipping call to {{ serverKey }} because there are no compatible components in the project."
|
|
918
|
+
LocalDevManager:
|
|
919
|
+
failedToInitialize: "Missing required arguments to initialize Local Dev"
|
|
920
|
+
noDeployedBuild: "There is no deployed build for this project in {{ accountIdentifier }}. Run {{ uploadCommand }} to upload and deploy your project."
|
|
921
|
+
noComponents: "There are no components in this project."
|
|
922
|
+
noRunnableComponents: "No supported components were found under {{#bold}}{{ projectSourceDir }}{{/bold}}. Run {{ command }} to see a list of available components."
|
|
923
|
+
betaMessage: "HubSpot projects local development"
|
|
924
|
+
running: "Running {{#bold}}{{ projectName }}{{/bold}} locally on {{ accountIdentifier }}, waiting for changes ..."
|
|
925
|
+
quitHelper: "Press {{#bold}}'q'{{/bold}} to stop the local dev server"
|
|
926
|
+
viewInHubSpotLink: "View project in HubSpot"
|
|
927
|
+
exitingStart: "Stopping local dev server ..."
|
|
928
|
+
exitingSucceed: "Successfully exited"
|
|
929
|
+
exitingFail: "Failed to cleanup before exiting"
|
|
930
|
+
missingUid: "Could not find a uid for the selected app. Confirm that the app config file contains the uid field and re-run {{ devCommand }}."
|
|
931
|
+
uploadWarning:
|
|
932
|
+
appLabel: "[App]"
|
|
933
|
+
uiExtensionLabel: "[UI Extension]"
|
|
934
|
+
missingComponents: "Couldn't find the following components in the deployed build for this project: {{#bold}}'{{ missingComponents }}'{{/bold}}. This may cause issues in local development."
|
|
935
|
+
defaultWarning: "Changing project configuration requires a new project build."
|
|
936
|
+
header: "{{ warning }} To reflect these changes and continue testing:"
|
|
937
|
+
stopDev: " * Stop {{ command }}"
|
|
938
|
+
runUpload: " * Run {{ command }}"
|
|
939
|
+
restartDev: " * Re-run {{ command }}"
|
|
940
|
+
pushToGithub: " * Commit and push your changes to GitHub"
|
|
941
|
+
devServer:
|
|
942
|
+
cleanupError: "Failed to cleanup local dev server: {{ message }}"
|
|
943
|
+
setupError: "Failed to setup local dev server: {{ message }}"
|
|
944
|
+
startError: "Failed to start local dev server: {{ message }}"
|
|
945
|
+
fileChangeError: "Failed to notify local dev server of file change: {{ message }}"
|
|
946
|
+
localDev:
|
|
947
|
+
confirmDefaultAccountIsTarget:
|
|
948
|
+
declineDefaultAccountExplanation: "To develop on a different account, run {{ useCommand }} to change your default account, then re-run {{ devCommand }}."
|
|
949
|
+
checkIfAppDevloperAccount: "This project contains a public app. Local development of public apps is only supported on developer accounts and developer test accounts. Change your default account using {{#bold}}`hs accounts use`{{/bold}}, or link a new account with {{#bold}}`hs auth`{{/bold}}."
|
|
950
|
+
checkIfDeveloperTestAccount: "This project contains a public app. The \"--account\" flag must point to a developer test account to develop this project locally. Alternatively, change your default account to an App Developer Account using {{#bold}}`hs accounts use`{{/bold}} and run {{#bold}}`hs project dev`{{/bold}} to set up a new Developer Test Account."
|
|
951
|
+
suggestRecommendedNestedAccount:
|
|
952
|
+
nonSandboxWarning: "Testing in a sandbox is strongly recommended. To switch the target account, select an option below or run {{#bold}}`hs accounts use`{{/bold}} before running the command again."
|
|
953
|
+
publicAppNonDeveloperTestAccountWarning: "Local development of public apps is only supported in {{#bold}}developer test accounts{{/bold}}."
|
|
954
|
+
privateAppNonDeveloperTestAccountWarning: "Local development of private apps is only supported in {{#bold}}developer test accounts{{/bold}}"
|
|
955
|
+
createNewProjectForLocalDev:
|
|
956
|
+
projectMustExistExplanation: "The project {{ projectName }} does not exist in the target account {{ accountIdentifier}}. This command requires the project to exist in the target account."
|
|
957
|
+
publicAppProjectMustExistExplanation: "The project {{ projectName }} does not exist in {{ accountIdentifier}}, the app developer account associated with your target account. This command requires the project to exist in this app developer account."
|
|
958
|
+
createProject: "Create new project {{ projectName}} in {{#bold}}[{{ accountIdentifier }}]{{/bold}}?"
|
|
959
|
+
choseNotToCreateProject: "Exiting because this command requires the project to exist in the target account."
|
|
960
|
+
creatingProject: "Creating project {{ projectName }} in {{ accountIdentifier }}"
|
|
961
|
+
createdProject: "Created project {{ projectName }} in {{ accountIdentifier }}"
|
|
962
|
+
failedToCreateProject: "Failed to create project in the target account."
|
|
963
|
+
createInitialBuildForNewProject:
|
|
964
|
+
initialUploadMessage: "HubSpot Local Dev Server Startup"
|
|
965
|
+
projectLockedError: "Your project is locked. This may mean that another user is running the {{#bold}}`hs project watch`{{/bold}} command for this project. If this is you, unlock the project in Projects UI."
|
|
966
|
+
projects:
|
|
967
|
+
config:
|
|
968
|
+
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\""
|
|
969
|
+
uploadProjectFiles:
|
|
970
|
+
add: "Uploading {{#bold}}{{ projectName }}{{/bold}} project files to {{ accountIdentifier }}"
|
|
971
|
+
fail: "Failed to upload {{#bold}}{{ projectName }}{{/bold}} project files to {{ accountIdentifier }}"
|
|
972
|
+
succeed: "Uploaded {{#bold}}{{ projectName }}{{/bold}} project files to {{ accountIdentifier }}"
|
|
973
|
+
buildCreated: "Project \"{{ projectName }}\" uploaded and build #{{ buildId }} created"
|
|
974
|
+
handleProjectUpload:
|
|
975
|
+
emptySource: "Source directory \"{{ srcDir }}\" is empty. Add files to your project and rerun `{{#yellow}}hs project upload{{/yellow}}` to upload them to HubSpot."
|
|
976
|
+
compressed: "Project files compressed: {{ byteCount }} bytes"
|
|
977
|
+
compressing: "Compressing build files to \"{{ path }}\""
|
|
978
|
+
fileFiltered: "Ignore rule triggered for \"{{ filename }}\""
|
|
979
|
+
ensureProjectExists:
|
|
980
|
+
createPrompt: "The project {{ projectName }} does not exist in {{ accountIdentifier }}. Would you like to create it?"
|
|
981
|
+
createPromptUpload: "[--forceCreate] The project {{ projectName }} does not exist in {{ accountIdentifier }}. Would you like to create it?"
|
|
982
|
+
createSuccess: "New project {{#bold}}{{ projectName }}{{/bold}} successfully created in {{#bold}}{{ accountIdentifier }}{{/bold}}."
|
|
983
|
+
notFound: "Your project {{#bold}}{{ projectName }}{{/bold}} could not be found in {{#bold}}{{ accountIdentifier }}{{/bold}}."
|
|
984
|
+
pollFetchProject:
|
|
985
|
+
checkingProject: "Checking if project exists in {{ accountIdentifier }}"
|
|
986
|
+
makePollTaskStatusFunc:
|
|
987
|
+
componentCountSingular: "Found 1 component in this project"
|
|
988
|
+
componentCount: "Found {{ numComponents }} components in this project"
|
|
989
|
+
successStatusText: "DONE"
|
|
990
|
+
failedStatusText: "FAILED"
|
|
991
|
+
pollProjectBuildAndDeploy:
|
|
992
|
+
buildSucceededAutomaticallyDeploying: "Build #{{ buildId }} succeeded. {{#bold}}Automatically deploying{{/bold}} to {{ accountIdentifier }}\n"
|
|
993
|
+
cleanedUpTempFile: "Cleaned up temporary file {{ path }}"
|
|
994
|
+
logFeedbackMessage:
|
|
995
|
+
feedbackHeader: "We'd love to hear your feedback!"
|
|
996
|
+
feedbackMessage: "How are you liking the new projects and developer tools? \n > Run `{{#yellow}}hs feedback{{/yellow}}` to let us know what you think!\n"
|
|
997
|
+
ui:
|
|
998
|
+
betaTag: "{{#bold}}[BETA]{{/bold}}"
|
|
999
|
+
betaWarning:
|
|
1000
|
+
header: "{{#yellow}}***************************** WARNING ****************************{{/yellow}}"
|
|
1001
|
+
footer: "{{#yellow}}******************************************************************{{/yellow}}"
|
|
1002
|
+
featureHighlight:
|
|
1003
|
+
defaultTitle: "What's next?"
|
|
1004
|
+
commandKeys:
|
|
1005
|
+
accountOption:
|
|
1006
|
+
command: "--account"
|
|
1007
|
+
message: "Use the {{ command }} option with any command to override the default account"
|
|
1008
|
+
accountsListCommand:
|
|
1009
|
+
command: hs accounts list
|
|
1010
|
+
message: "Run {{ command }} to see a list of configured HubSpot accounts"
|
|
1011
|
+
accountsUseCommand:
|
|
1012
|
+
command: "hs accounts use"
|
|
1013
|
+
message: "Run {{ command }} to set the Hubspot account that the CLI will target by default"
|
|
1014
|
+
authCommand:
|
|
1015
|
+
command: "hs auth"
|
|
1016
|
+
message: "Run {{ command }} to connect the CLI to additional HubSpot accounts"
|
|
1017
|
+
feedbackCommand:
|
|
1018
|
+
command: "hs feedback"
|
|
1019
|
+
message: "Run {{ command }} to report a bug or leave feedback"
|
|
1020
|
+
helpCommand:
|
|
1021
|
+
command: "hs help"
|
|
1022
|
+
message: "Run {{ command }} to see a list of available commands"
|
|
1023
|
+
projectCreateCommand:
|
|
1024
|
+
command: "hs project create"
|
|
1025
|
+
message: "Run {{ command }} to create a new project"
|
|
1026
|
+
projectDeployCommand:
|
|
1027
|
+
command: "hs project deploy"
|
|
1028
|
+
message: "Ready to take your project live? Run {{ command }}"
|
|
1029
|
+
projectHelpCommand:
|
|
1030
|
+
command: "hs project --help"
|
|
1031
|
+
message: "Run {{ command }} to learn more about available project commands"
|
|
1032
|
+
projectUploadCommand:
|
|
1033
|
+
command: "hs project upload"
|
|
1034
|
+
message: "Run {{ command }} to upload your project to HubSpot and trigger builds"
|
|
1035
|
+
projectDevCommand:
|
|
1036
|
+
command: "hs project dev"
|
|
1037
|
+
message: "Run {{ command }} to set up your test environment and start local development"
|
|
1038
|
+
sandboxSyncDevelopmentCommand:
|
|
1039
|
+
command: "hs sandbox sync"
|
|
1040
|
+
message: "Run {{ command }} to to update CRM object definitions in your sandbox"
|
|
1041
|
+
sandboxSyncStandardCommand:
|
|
1042
|
+
command: "hs sandbox sync"
|
|
1043
|
+
message: "Run {{ command }} to to update all supported assets to your sandbox from production"
|
|
1044
|
+
sampleProjects:
|
|
1045
|
+
linkText: "HubSpot's sample projects"
|
|
1046
|
+
url: "https://developers.hubspot.com/docs/platform/sample-projects?utm_source=cli&utm_content=project_create_whats_next"
|
|
1047
|
+
message: "See {{ link }}"
|
|
1048
|
+
git:
|
|
1049
|
+
securityIssue: "Security Issue Detected"
|
|
1050
|
+
configFileTracked: "The HubSpot config file can be tracked by git."
|
|
1051
|
+
fileName: "File: \"{{ configPath }}\""
|
|
1052
|
+
remediate: "To remediate:"
|
|
1053
|
+
moveConfig: "- Move the config file to your home directory: '{{ homeDir }}'"
|
|
1054
|
+
addGitignore: "- Add gitignore pattern '{{ configPath }}' to a .gitignore file in root of your repository."
|
|
1055
|
+
noRemote: "- Ensure that the config file has not already been pushed to a remote repository."
|
|
1056
|
+
checkFailed: "Unable to determine if config file is properly ignored by git."
|
|
1057
|
+
serverlessFunctionLogs:
|
|
1058
|
+
unableToProcessLog: "Unable to process log {{ log }}"
|
|
1059
|
+
commonOpts:
|
|
1060
|
+
options:
|
|
1061
|
+
portal:
|
|
1062
|
+
describe: "HubSpot portal id or name from config"
|
|
1063
|
+
config:
|
|
1064
|
+
describe: "Path to a config file"
|
|
1065
|
+
overwrite:
|
|
1066
|
+
describe: "Overwrite existing files"
|
|
1067
|
+
modes:
|
|
1068
|
+
describe:
|
|
1069
|
+
default: "{{ modes }}"
|
|
1070
|
+
read: "Read from {{ modes }}"
|
|
1071
|
+
write: "Write to {{ modes }}"
|
|
1072
|
+
qa:
|
|
1073
|
+
describe: "Run command in QA mode"
|
|
1074
|
+
useEnv:
|
|
1075
|
+
describe: "Use environment variable config"
|
|
1076
|
+
prompts:
|
|
1077
|
+
projectDevTargetAccountPrompt:
|
|
1078
|
+
createNewSandboxOption: "<Test on a new development sandbox>"
|
|
1079
|
+
createNewDeveloperTestAccountOption: "<Test on a new developer test account>"
|
|
1080
|
+
chooseDefaultAccountOption: "<{{#bold}}\U00002757{{/bold}} Test on this production account {{#bold}}\U00002757{{/bold}}>"
|
|
1081
|
+
promptMessage: "[--account] Choose a {{ accountType }} under {{ accountIdentifier }} to test with:"
|
|
1082
|
+
sandboxLimit: "Your account reached the limit of {{ limit }} development sandboxes"
|
|
1083
|
+
sandboxLimitWithSuggestion: "Your account reached the limit of {{ limit }} development sandboxes. Run {{ authCommand }} to add an existing one to the config."
|
|
1084
|
+
developerTestAccountLimit: "Your account reached the limit of {{ limit }} developer test accounts."
|
|
1085
|
+
confirmDefaultAccount: "Continue testing on {{#bold}}{{ accountName }} ({{ accountType }}){{/bold}}? (Y/n)"
|
|
1086
|
+
confirmUseExistingDeveloperTestAccount: "Continue with {{ accountName }}? This account isn't currently connected to the HubSpot CLI. By continuing, you'll be prompted to generate a personal access key and connect it."
|
|
1087
|
+
projectLogsPrompt:
|
|
1088
|
+
projectName:
|
|
1089
|
+
message: "[--project] Enter the project name:"
|
|
1090
|
+
error: "Project name is required"
|
|
1091
|
+
logType:
|
|
1092
|
+
message: "Select the type of serverless function"
|
|
1093
|
+
function: "App function"
|
|
1094
|
+
endpoint: "Public endpoint"
|
|
1095
|
+
appName: "[--app] Select the app"
|
|
1096
|
+
functionName: "[--function] Enter the app function name:"
|
|
1097
|
+
endpointName: "[--endpoint] Enter the public endpoint path:"
|
|
1098
|
+
setAsDefaultAccountPrompt:
|
|
1099
|
+
setAsDefaultAccountMessage: "Set this account as the default?"
|
|
1100
|
+
setAsDefaultAccount: "Account \"{{ accountName }}\" set as the default account"
|
|
1101
|
+
keepingCurrentDefault: "Account \"{{ accountName }}\" will continue to be the default account"
|
|
1102
|
+
enterAccountNamePrompt:
|
|
1103
|
+
enterAccountName: "Enter a unique name to reference this account in the CLI:"
|
|
1104
|
+
errors:
|
|
1105
|
+
invalidName: "You entered an invalid name. Please try again."
|
|
1106
|
+
nameRequired: "The name may not be blank. Please try again."
|
|
1107
|
+
spacesInName: "The name may not contain spaces. Please try again."
|
|
1108
|
+
accountNameExists: "Account with name \"{{ name }}\" already exists in the CLI config, please enter a different name."
|
|
1109
|
+
personalAccessKeyPrompt:
|
|
1110
|
+
enterAccountId: "Enter the account ID for your account (the number under the DOMAIN column at https://app.hubspot.com/myaccounts-beta ): "
|
|
1111
|
+
enterClientId: "Enter your OAuth2 client ID: "
|
|
1112
|
+
enterClientSecret: "Enter your OAuth2 client secret: "
|
|
1113
|
+
enterPersonalAccessKey: "Enter your personal access key: "
|
|
1114
|
+
selectScopes: "Select access scopes (see https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes)"
|
|
1115
|
+
personalAccessKeySetupTitle: "HubSpot Personal Access Key Setup"
|
|
1116
|
+
personalAccessKeyBrowserOpenPrep: "A personal access key is required to authenticate the CLI to interact with your HubSpot account. We'll open a secure page in your default browser where you can view and copy your personal access key."
|
|
1117
|
+
personalAccessKeyBrowserOpenPrompt: "Open hubspot.com to copy your personal access key?"
|
|
1118
|
+
logs:
|
|
1119
|
+
openingWebBrowser: "Opening {{ url }} in your web browser"
|
|
1120
|
+
errors:
|
|
1121
|
+
invalidAccountId: "You did not enter a valid account ID. Please try again."
|
|
1122
|
+
invalidOauthClientId: "You entered an invalid OAuth2 client ID. Please try again."
|
|
1123
|
+
invalidOauthClientIdLength: "The OAuth2 client ID must be 36 characters long. Please try again."
|
|
1124
|
+
invalidOauthClientSecret: "You entered an invalid OAuth2 client secret. Please try again."
|
|
1125
|
+
invalidOauthClientSecretLength: "The OAuth2 client secret must be 36 characters long. Please try again."
|
|
1126
|
+
invalidOauthClientSecretCopy: "Please copy the actual OAuth2 client secret rather than the asterisks that mask it."
|
|
1127
|
+
invalidPersonalAccessKey: "You did not enter a valid access key. Please try again."
|
|
1128
|
+
invalidPersonalAccessKeyCopy: "Please copy the actual access key rather than the bullets that mask it."
|
|
1129
|
+
folderOverwritePrompt:
|
|
1130
|
+
overwriteConfirm: "The folder with name \"{{ folderName }}\" already exists. Overwrite?"
|
|
1131
|
+
createTemplatePrompt:
|
|
1132
|
+
selectTemplate: "Select the type of template to create"
|
|
1133
|
+
createModulePrompt:
|
|
1134
|
+
enterLabel: "What should the module label be?"
|
|
1135
|
+
selectReactType: "Is this a React module?"
|
|
1136
|
+
selectContentType: "What types of content will this module be used in?"
|
|
1137
|
+
confirmGlobal: "Is this a global module?"
|
|
1138
|
+
errors:
|
|
1139
|
+
invalidLabel: "You entered an invalid name. Please try again."
|
|
1140
|
+
labelRequired: "The name may not be blank. Please try again."
|
|
1141
|
+
contentTypeRequired: "Please select at least one content type for this module."
|
|
1142
|
+
createFunctionPrompt:
|
|
1143
|
+
enterFolder: "Name of the folder where your function will be created: "
|
|
1144
|
+
enterFilename: "Name of the JavaScript file for your function: "
|
|
1145
|
+
enterEndpointPath: "Path portion of the URL created for the function: "
|
|
1146
|
+
selectEndpointMethod: "Select the HTTP method for the endpoint"
|
|
1147
|
+
errors:
|
|
1148
|
+
invalid: "You entered an invalid name. Please try again."
|
|
1149
|
+
blank: "The name may not be blank. Please try again."
|
|
1150
|
+
space: "The name may not contain spaces. Please try again."
|
|
1151
|
+
createApiSamplePrompt:
|
|
1152
|
+
selectApiSampleApp: "Please, select API sample app"
|
|
1153
|
+
selectLanguage: "Please, select sample app's language"
|
|
1154
|
+
errors:
|
|
1155
|
+
apiSampleAppRequired: "Please select API sample app"
|
|
1156
|
+
languageRequired: "Please select API sample app's language"
|
|
1157
|
+
createProjectPrompt:
|
|
1158
|
+
enterName: "[--name] Give your project a name: "
|
|
1159
|
+
enterLocation: "[--location] Where should the project be created?"
|
|
1160
|
+
selectTemplate: "[--template] Choose a project template: "
|
|
1161
|
+
errors:
|
|
1162
|
+
nameRequired: "A project name is required"
|
|
1163
|
+
locationRequired: "A project location is required"
|
|
1164
|
+
invalidTemplate: "[--template] Could not find template {{ template }}. Please choose an available template."
|
|
1165
|
+
noProjectsInConfig: "Please ensure that there is a config.json file that contains a \"projects\" field."
|
|
1166
|
+
missingPropertiesInConfig: "Please ensure that each of the projects in your config.json file contain the following properties: [\"name\", \"label\", \"path\", \"insertPath\"]."
|
|
1167
|
+
developerTestAccountPrompt:
|
|
1168
|
+
name:
|
|
1169
|
+
message: "Name your developer test account"
|
|
1170
|
+
errors:
|
|
1171
|
+
invalidName: "You entered an invalid name. Please try again."
|
|
1172
|
+
nameRequired: "The name may not be blank. Please try again."
|
|
1173
|
+
accountNameExists: "Account with name \"{{ name }}\" already exists in the CLI config, please enter a different name."
|
|
1174
|
+
downloadProjectPrompt:
|
|
1175
|
+
selectProject: "Select a project to download:"
|
|
1176
|
+
errors:
|
|
1177
|
+
projectNotFound: "Your project {{ projectName }} could not be found in {{ accountId }}. Please select a valid project:"
|
|
1178
|
+
projectAddPrompt:
|
|
1179
|
+
selectType: "[--type] Select your component type:"
|
|
1180
|
+
enterName: "[--name] Give your component a name: "
|
|
1181
|
+
errors:
|
|
1182
|
+
nameRequired: "A component name is required"
|
|
1183
|
+
invalidType: "[--type] Could not find type {{ type }}. Please choose an available type."
|
|
1184
|
+
secretPrompt:
|
|
1185
|
+
enterValue: "Enter a value for your secret: "
|
|
1186
|
+
errors:
|
|
1187
|
+
invalidValue: "You entered an invalid value. Please try again."
|
|
1188
|
+
sandboxesPrompt:
|
|
1189
|
+
name:
|
|
1190
|
+
message: "Name your sandbox"
|
|
1191
|
+
developmentSandboxMessage: "Name your development sandbox"
|
|
1192
|
+
errors:
|
|
1193
|
+
invalidName: "You entered an invalid name. Please try again."
|
|
1194
|
+
nameRequired: "The name may not be blank. Please try again."
|
|
1195
|
+
accountNameExists: "Account with name \"{{ name }}\" already exists in the CLI config, please enter a different name."
|
|
1196
|
+
selectAccountName: "Select the sandbox account you want to delete"
|
|
1197
|
+
selectParentAccountName: "Select the account that the sandbox belongs to"
|
|
1198
|
+
type:
|
|
1199
|
+
message: "What type of sandbox would you like to create?"
|
|
1200
|
+
developer: "Development sandbox (Isolated environment for developers)"
|
|
1201
|
+
standard: "Standard sandbox (Testing environment for all Super Admins)"
|
|
1202
|
+
uploadPrompt:
|
|
1203
|
+
enterDest: "[--dest] Enter the destination path: "
|
|
1204
|
+
enterSrc: "[--src] Enter the source path: "
|
|
1205
|
+
errors:
|
|
1206
|
+
srcRequired: "You must specify a source directory."
|
|
1207
|
+
destRequired: "You must specify a destination directory."
|
|
1208
|
+
fieldsPrompt: "Multiple fields files located in \"{{ dir }}\". Please choose which to upload: "
|
|
1209
|
+
projectNamePrompt:
|
|
1210
|
+
enterName: "[--project] Enter project name:"
|
|
1211
|
+
errors:
|
|
1212
|
+
invalidName: "You entered an invalid name. Please try again."
|
|
1213
|
+
projectDoesNotExist: "Project {{#bold}}{{ projectName }}{{/bold}} could not be found in \"{{ accountIdentifier }}\""
|
|
1214
|
+
feedbackPrompt:
|
|
1215
|
+
feedbackType:
|
|
1216
|
+
message: "What type of feedback would you like to leave?"
|
|
1217
|
+
bug: "[--bug] Report a bug"
|
|
1218
|
+
general: "[--general] Tell us about your experience with HubSpot's developer tools"
|
|
1219
|
+
bugPrompt: "Create an issue on Github in your browser?"
|
|
1220
|
+
generalPrompt: "Open the projects feedback form in your browser?"
|
|
1221
|
+
buildIdPrompt:
|
|
1222
|
+
enterBuildId: "[--build] Deploy which build?"
|
|
1223
|
+
errors:
|
|
1224
|
+
buildIdDoesNotExist: "Build {{ buildId }} does not exist for project {{ projectName }}."
|
|
1225
|
+
buildAlreadyDeployed: "Build {{ buildId }} is already deployed."
|
|
1226
|
+
previewPrompt:
|
|
1227
|
+
enterSrc: "[--src] Enter a local theme directory to preview."
|
|
1228
|
+
enterDest: "[--dest] Enter the destination path for the src theme in HubSpot Design Tools."
|
|
1229
|
+
themeProjectSelect: "[--theme] Select which theme to preview."
|
|
1230
|
+
errors:
|
|
1231
|
+
srcRequired: "You must specify a source directory."
|
|
1232
|
+
destRequired: "You must specify a destination directory."
|
|
1233
|
+
cleanUploadPrompt:
|
|
1234
|
+
message: "You are about to remove any remote files in \"{{ filePath }}\" on HubSpot account {{ accountId }} that don't exist locally. Are you sure you want to do this?"
|
|
1235
|
+
installPublicAppPrompt:
|
|
1236
|
+
explanation: "Local development requires this app to be installed in the target test account"
|
|
1237
|
+
prompt: "Open hubspot.com to install this app?"
|
|
1238
|
+
decline: "To continue local development of this app, install it in your target test account and re-run {{#bold}}`hs project dev`{{/bold}}"
|
|
1239
|
+
convertFields:
|
|
1240
|
+
positionals:
|
|
1241
|
+
src:
|
|
1242
|
+
describe: Path to JS Fields file or directory containing javascript fields files.
|
|
1243
|
+
options:
|
|
1244
|
+
options:
|
|
1245
|
+
describe: "Options to pass to javascript fields files"
|
|
1246
|
+
developerTestAccount:
|
|
1247
|
+
create:
|
|
1248
|
+
loading:
|
|
1249
|
+
add: "Creating developer test account {{#bold}}{{ accountName }}{{/bold}}"
|
|
1250
|
+
fail: "Failed to create a developer test account {{#bold}}{{ accountName }}{{/bold}}."
|
|
1251
|
+
succeed: "Successfully created a developer test account {{#bold}}{{ name }}{{/bold}} with portalId {{#bold}}{{ accountId }}{{/bold}}."
|
|
1252
|
+
success:
|
|
1253
|
+
configFileUpdated: "Account \"{{ accountName }}\" updated using \"{{ authType }}\""
|
|
1254
|
+
failure:
|
|
1255
|
+
invalidUser: "Couldn't create {{#bold}}{{ accountName }}{{/bold}} because your account has been removed from {{#bold}}{{ parentAccountName }}{{/bold}} or your permission set doesn't allow you to create the sandbox. To update your permissions, contact a super admin in {{#bold}}{{ parentAccountName }}{{/bold}}."
|
|
1256
|
+
limit: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} developer test accounts.
|
|
1257
|
+
\n- To connect a developer test account to your HubSpot CLI, run {{#bold}}hs auth{{/bold}} and follow the prompts."
|
|
1258
|
+
alreadyInConfig: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} developer test accounts.
|
|
1259
|
+
\n- To use an existing developer test account, run {{#bold}}hs accounts use{{/bold}}."
|
|
1260
|
+
scopes:
|
|
1261
|
+
message: "The personal access key you provided doesn't include developer test account permissions."
|
|
1262
|
+
instructions: "To update CLI permissions for \"{{ accountName }}\":
|
|
1263
|
+
\n- Go to {{ url }}, deactivate the existing personal access key, and create a new one that includes developer test account permissions.
|
|
1264
|
+
\n- Update the CLI config for this account by running {{#bold}}hs auth{{/bold}} and entering the new key.\n"
|
|
1265
|
+
sandbox:
|
|
1266
|
+
create:
|
|
1267
|
+
loading:
|
|
1268
|
+
developer:
|
|
1269
|
+
add: "Creating development sandbox {{#bold}}{{ sandboxName }}{{/bold}}"
|
|
1270
|
+
fail: "Failed to create a development sandbox {{#bold}}{{ sandboxName }}{{/bold}}."
|
|
1271
|
+
succeed: "Successfully created a development sandbox {{#bold}}{{ name }}{{/bold}} with portalId {{#bold}}{{ sandboxHubId }}{{/bold}}."
|
|
1272
|
+
standard:
|
|
1273
|
+
add: "Creating standard sandbox {{#bold}}{{ sandboxName }}{{/bold}}"
|
|
1274
|
+
fail: "Failed to create a standard sandbox {{#bold}}{{ sandboxName }}{{/bold}}."
|
|
1275
|
+
succeed: "Successfully created a standard sandbox {{#bold}}{{ name }}{{/bold}} with portalId {{#bold}}{{ sandboxHubId }}{{/bold}}."
|
|
1276
|
+
failure:
|
|
1277
|
+
invalidUser: "Couldn't create {{#bold}}{{ accountName }}{{/bold}} because your account has been removed from {{#bold}}{{ parentAccountName }}{{/bold}} or your permission set doesn't allow you to create the sandbox. To update your permissions, contact a super admin in {{#bold}}{{ parentAccountName }}{{/bold}}."
|
|
1278
|
+
403Gating: "Couldn't create {{#bold}}{{ accountName }}{{/bold}} because {{#bold}}{{ parentAccountName }}{{/bold}} does not have access to development sandboxes. To opt in to the CRM Development Beta and use development sandboxes, visit https://app.hubspot.com/l/product-updates/in-beta?update=13899236."
|
|
1279
|
+
limit:
|
|
1280
|
+
developer:
|
|
1281
|
+
one: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} development sandbox.
|
|
1282
|
+
\n- View sandbox details at {{ link }}
|
|
1283
|
+
\n- To connect a sandbox to your HubSpot CLI, run {{#bold}}hs auth{{/bold}} and follow the prompts."
|
|
1284
|
+
other: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} development sandboxes.
|
|
1285
|
+
\n- View sandbox details at {{ link }}
|
|
1286
|
+
\n- To connect a sandbox to your HubSpot CLI, run {{#bold}}hs auth{{/bold}} and follow the prompts."
|
|
1287
|
+
standard:
|
|
1288
|
+
one: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} standard sandbox.
|
|
1289
|
+
\n- View sandbox details at {{ link }}
|
|
1290
|
+
\n- To connect a sandbox to your HubSpot CLI, run {{#bold}}hs auth{{/bold}} and follow the prompts."
|
|
1291
|
+
other: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} standard sandboxes.
|
|
1292
|
+
\n- View sandbox details at {{ link }}
|
|
1293
|
+
\n- To connect a sandbox to your HubSpot CLI, run {{#bold}}hs auth{{/bold}} and follow the prompts."
|
|
1294
|
+
alreadyInConfig:
|
|
1295
|
+
developer:
|
|
1296
|
+
one: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} development sandbox per account.
|
|
1297
|
+
\n- To use an existing development sandbox, run {{#bold}}hs accounts use{{/bold}}.
|
|
1298
|
+
\n- To delete an existing sandbox, run {{#bold}}hs sandbox delete{{/bold}}."
|
|
1299
|
+
other: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} development sandboxes per account.
|
|
1300
|
+
\n- To use an existing development sandbox, run {{#bold}}hs accounts use{{/bold}}.
|
|
1301
|
+
\n- To delete an existing sandbox, run {{#bold}}hs sandbox delete{{/bold}}."
|
|
1302
|
+
standard:
|
|
1303
|
+
one: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} standard sandbox per account.
|
|
1304
|
+
\n- To use an existing standard sandbox, run {{#bold}}hs accounts use{{/bold}}.
|
|
1305
|
+
\n- To delete an existing sandbox, run {{#bold}}hs sandbox delete{{/bold}}."
|
|
1306
|
+
other: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} standard sandboxes per account.
|
|
1307
|
+
\n- To use an existing standard sandbox, run {{#bold}}hs accounts use{{/bold}}.
|
|
1308
|
+
\n- To delete an existing sandbox, run {{#bold}}hs sandbox delete{{/bold}}."
|
|
1309
|
+
scopes:
|
|
1310
|
+
message: "The personal access key you provided doesn't include sandbox permissions."
|
|
1311
|
+
instructions: "To update CLI permissions for \"{{ accountName }}\":
|
|
1312
|
+
\n- Go to {{ url }}, deactivate the existing personal access key, and create a new one that includes Sandboxes permissions.
|
|
1313
|
+
\n- Update the CLI config for this account by running {{#bold}}hs auth{{/bold}} and entering the new key.\n"
|
|
1314
|
+
sync:
|
|
1315
|
+
info:
|
|
1316
|
+
syncStatus: "View the sync status details at: {{#bold}}{{ url }}{{/bold}}"
|
|
1317
|
+
earlyExit: "Syncing may take some time. Hit {{#bold}}Enter{{/bold}} or {{#bold}}Ctrl+C{{/bold}} to exit and continue the sync in the background.\n"
|
|
1318
|
+
confirm:
|
|
1319
|
+
createFlow:
|
|
1320
|
+
standard: "Sync all supported assets to {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}} from {{#bold}}{{ parentAccountName }}{{/bold}}?"
|
|
1321
|
+
developer: "Sync CRM object definitions to {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}} from {{#bold}}{{ parentAccountName }}{{/bold}}?"
|
|
1322
|
+
syncContactRecords:
|
|
1323
|
+
standard: "Include up to 5000 most recently updated contacts? This includes up to 100 of each of the following: associated deals, tickets, and companies. This can be done once per sandbox."
|
|
1324
|
+
developer: "Include up to 100 most recently updated contacts? This includes up to 100 of each of the following: associated deals, tickets, and companies. This can be done once per sandbox."
|
|
1325
|
+
loading:
|
|
1326
|
+
startSync: "Initiating sync..."
|
|
1327
|
+
fail: "Failed to sync sandbox."
|
|
1328
|
+
succeed: "Sandbox sync initiated to {{ accountName }}."
|
|
1329
|
+
skipPolling: "Syncing CRM object definitions."
|
|
1330
|
+
skipPollingWithContacts: "Syncing CRM object definitions and up to 100 most recently updated contacts with associated deals, tickets, and companies (up to 100 each)."
|
|
1331
|
+
polling:
|
|
1332
|
+
syncing: "Syncing sandbox..."
|
|
1333
|
+
fail: "Failed to fetch sync updates. View the sync status at: {{ url }}"
|
|
1334
|
+
succeed: "Sandbox sync complete."
|
|
1335
|
+
failure:
|
|
1336
|
+
invalidUser: "Couldn't sync {{ accountName }} because your account has been removed from {{ parentAccountName }} or your permission set doesn't allow you to sync the sandbox. To update your permissions, contact a super admin in {{ parentAccountName }}."
|
|
1337
|
+
missingScopes: "Couldn’t run the sync because there are scopes missing in your production account. To update scopes, deactivate your current personal access key for {{#bold}}{{ accountName }}{{/bold}}, and generate a new one. Then run `hs auth` to update the CLI with the new key."
|
|
1338
|
+
syncInProgress: "Couldn’t run the sync because there’s another sync in progress. Wait for the current sync to finish and then try again. To check the sync status, visit the sync activity log: {{ url }}."
|
|
1339
|
+
notSuperAdmin: "Couldn't run the sync because you are not a super admin in {{ account }}. Ask the account owner for super admin access to the sandbox."
|
|
1340
|
+
objectNotFound: "Couldn't sync the sandbox because {{#bold}}{{ account }}{{/bold}} may have been deleted through the UI. Run {{#bold}}hs sandbox delete{{/bold}} to remove this account from the config. "
|
|
1341
|
+
types:
|
|
1342
|
+
parcels:
|
|
1343
|
+
label: "Account tools and features"
|
|
1344
|
+
super-admins:
|
|
1345
|
+
label: "Super Admins"
|
|
1346
|
+
object-schemas:
|
|
1347
|
+
label: "Object definitions"
|
|
1348
|
+
object-records:
|
|
1349
|
+
label: "Contacts and associated records"
|
|
1350
|
+
cms-developer-assets:
|
|
1351
|
+
label: "Themes, templates, and modules"
|
|
1352
|
+
object-pipelines:
|
|
1353
|
+
label: "Pipelines"
|
|
1354
|
+
object-lists:
|
|
1355
|
+
label: "Lists"
|
|
1356
|
+
workflows:
|
|
1357
|
+
label: "Workflows"
|
|
1358
|
+
forms:
|
|
1359
|
+
label: "Forms"
|
|
1360
|
+
lead-flows:
|
|
1361
|
+
label: "Lead Flows"
|
|
1362
|
+
marketing-email:
|
|
1363
|
+
label: "Marketing emails"
|
|
1364
|
+
errorHandlers:
|
|
1365
|
+
standardErrors:
|
|
1366
|
+
errorOccurred: "Error: {{ error }}"
|
|
1367
|
+
errorContext: "Context: {{ context }}"
|
|
1368
|
+
errorCause: "Cause: {{ cause }}"
|
|
1369
|
+
systemErrorOccurred: "A system error has occurred: {{ errorMessage }}"
|
|
1370
|
+
genericErrorOccurred: "A {{ name }} has occurred."
|
|
1371
|
+
unknownErrorOccurred: "An unknown error has occurred"
|
|
1372
|
+
fileSystemErrors:
|
|
1373
|
+
errorOccurred: "An error occurred while {{ fileAction }} {{ filepath }}."
|
|
1374
|
+
errorExplanation: "This is the result of a system error: {{ errorMessage }}"
|
|
1375
|
+
apiErrors:
|
|
1376
|
+
messageDetail: "{{ request }} in account {{ accountId }}"
|
|
1377
|
+
unableToUpload: 'Unable to upload "{{ payload }}.'
|
|
1378
|
+
codes:
|
|
1379
|
+
400: "The {{ messageDetail }} was bad."
|
|
1380
|
+
401: "The {{ messageDetail }} was unauthorized."
|
|
1381
|
+
403MissingScope: "Couldn't run the project command because there are scopes missing in your production account. To update scopes, deactivate your current personal access key for {{ accountId }}, and generate a new one. Then run `hs auth` to update the CLI with the new key."
|
|
1382
|
+
403Gating: "The current target account {{ accountId }} does not have access to HubSpot projects. To opt in to the CRM Development Beta and use projects, visit https://app.hubspot.com/l/product-updates/in-beta?update=13899236."
|
|
1383
|
+
403: "The {{ messageDetail }} was forbidden."
|
|
1384
|
+
404Request: 'The {{ action }} failed because "{{ request }}" was not found in account {{ accountId }}.'
|
|
1385
|
+
404: "The {{ messageDetail }} was not found."
|
|
1386
|
+
429: "The {{ messageDetail }} surpassed the rate limit. Retry in one minute."
|
|
1387
|
+
503: "The {{ messageDetail }} could not be handled at this time. Please try again or visit https://help.hubspot.com/ to submit a ticket or contact HubSpot Support if the issue persists."
|
|
1388
|
+
500Generic: "The {{ messageDetail }} failed due to a server error. Please try again or visit https://help.hubspot.com/ to submit a ticket or contact HubSpot Support if the issue persists."
|
|
1389
|
+
400Generic: "The {{ messageDetail }} failed due to a client error."
|
|
1390
|
+
generic: "The {{ messageDetail }} failed."
|
|
1391
|
+
verifyAccessKeyAndUserAccess:
|
|
1392
|
+
fetchScopeDataError: "Error verifying access of scopeGroup {{ scopeGroup }}: {{ error }}"
|
|
1393
|
+
portalMissingScope: "Your account does not have access to this action. Talk to an account admin to request it."
|
|
1394
|
+
userMissingScope: "You don't have access to this action. Ask an account admin to change your permissions in Users & Teams settings."
|
|
1395
|
+
genericMissingScope: "Your access key does not allow this action. Please generate a new access key by running `hs auth personalaccesskey`."
|
|
1396
|
+
overrideErrors:
|
|
1397
|
+
platformVersionErrors:
|
|
1398
|
+
header: "Platform version update required"
|
|
1399
|
+
unspecifiedPlatformVersion: "Projects with an {{#bold}}{{platformVersion}}{{/bold}} are no longer supported."
|
|
1400
|
+
platformVersionRetired: "Projects with {{#bold}}platformVersion {{ platformVersion }}{{/bold}} are no longer supported."
|
|
1401
|
+
nonExistentPlatformVersion: "Projects with {{#bold}}platformVersion {{ platformVersion }}{{/bold}} are not supported."
|
|
1402
|
+
updateProject: "Please update your project to the latest version and try again."
|
|
1403
|
+
docsLink: "Projects platform versioning (BETA)"
|
|
1404
|
+
betaLink: "For more info, see {{ docsLink }}."
|
|
1401
1405
|
|
|
1402
1406
|
|