@hubspot/cli 4.1.8-beta.2 → 4.1.8-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/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 +1 -1
- package/commands/cms/convertFields.js +1 -1
- package/commands/cms/lighthouseScore.js +1 -1
- package/commands/cms.js +1 -1
- package/commands/config/set/allowUsageTracking.js +1 -1
- 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 -1
- package/commands/customObject/schema/delete.js +1 -1
- package/commands/customObject/schema/fetch-all.js +1 -1
- package/commands/customObject/schema/fetch.js +1 -1
- package/commands/customObject/schema/list.js +1 -1
- package/commands/customObject/schema/update.js +1 -1
- 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 +31 -9
- package/commands/project/download.js +1 -1
- package/commands/project/logs.js +1 -1
- package/commands/project/open.js +1 -1
- package/commands/project/upload.js +1 -1
- package/commands/project/watch.js +1 -1
- package/commands/remove.js +1 -1
- package/commands/sandbox/create.js +22 -2
- package/commands/sandbox/delete.js +1 -1
- package/commands/sandbox/sync.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/marketplace-validate.js +1 -1
- package/commands/theme.js +1 -1
- package/commands/upload.js +1 -1
- package/commands/watch.js +1 -1
- package/lang/en.lyaml +1205 -0
- package/lib/DevServerManager.js +74 -0
- package/lib/LocalDevManager.js +41 -30
- package/lib/commonOpts.js +1 -1
- package/lib/interpolation.js +137 -0
- package/lib/interpolationHelpers.js +23 -0
- package/lib/lang.js +95 -0
- package/lib/marketplace-validate.js +1 -1
- package/lib/projects.js +1 -1
- package/lib/prompts/accountsPrompt.js +1 -1
- package/lib/prompts/buildIdPrompt.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/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/personalAccessKeyPrompt.js +1 -1
- package/lib/prompts/projectAddPrompt.js +1 -1
- package/lib/prompts/projectDevTargetAccountPrompt.js +1 -1
- package/lib/prompts/projectNamePrompt.js +1 -1
- 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/sandbox-create.js +1 -1
- package/lib/sandbox-sync.js +1 -1
- package/lib/sandboxes.js +1 -1
- package/lib/ui.js +7 -4
- package/package.json +8 -5
package/lang/en.lyaml
ADDED
|
@@ -0,0 +1,1205 @@
|
|
|
1
|
+
en:
|
|
2
|
+
cli:
|
|
3
|
+
commands:
|
|
4
|
+
generalErrors:
|
|
5
|
+
srcIsProject: "\"{{ src }}\" is in a project folder. Did you mean \"hs project {{command}}\"?"
|
|
6
|
+
setDefaultAccountMoved: "This command has moved. Try `hs accounts use` instead"
|
|
7
|
+
accounts:
|
|
8
|
+
describe: "Commands for working with accounts."
|
|
9
|
+
subcommands:
|
|
10
|
+
list:
|
|
11
|
+
accounts: "Accounts:"
|
|
12
|
+
defaultAccount: "Default account: {{ account }}"
|
|
13
|
+
describe: "List names of accounts defined in config."
|
|
14
|
+
configPath: "Config path: {{ configPath }}"
|
|
15
|
+
labels:
|
|
16
|
+
accountId: "Account ID"
|
|
17
|
+
authType: "Auth Type"
|
|
18
|
+
name: "Name"
|
|
19
|
+
rename:
|
|
20
|
+
describe: "Rename account in config."
|
|
21
|
+
positionals:
|
|
22
|
+
accountName:
|
|
23
|
+
describe: "Name of account to be renamed."
|
|
24
|
+
newName:
|
|
25
|
+
describe: "New name for account."
|
|
26
|
+
success:
|
|
27
|
+
renamed: "Account \"{{ name }}\" renamed to \"{{ newName }}\""
|
|
28
|
+
use:
|
|
29
|
+
describe: "Set the Hubspot account to use as the default account. The default account can be overridden with the \"--account\" option."
|
|
30
|
+
errors:
|
|
31
|
+
accountNotFound: "The account \"{{ specifiedAccount }}\" could not be found in {{ configPath }}"
|
|
32
|
+
examples:
|
|
33
|
+
default: "Select a HubSpot account to use as the default account"
|
|
34
|
+
idBased: "Set the default account to the account in the config with accountId equal to \"1234567\""
|
|
35
|
+
nameBased: "Set the default account to the account in the config with name equal to \"MyAccount\""
|
|
36
|
+
options:
|
|
37
|
+
account:
|
|
38
|
+
describe: "Account name or id to use as the default"
|
|
39
|
+
promptMessage: "Select an account to use as the default"
|
|
40
|
+
success:
|
|
41
|
+
defaultAccountUpdated: "Default account updated to \"{{ accountName }}\""
|
|
42
|
+
remove:
|
|
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: "Account ID: {{ 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: "Account name: {{ name }}"
|
|
69
|
+
scopeGroups: "Scopes available:\n{{ scopeGroups }}"
|
|
70
|
+
auth:
|
|
71
|
+
describe: "Configure authentication for a HubSpot account. Supported authentication protocols are {{ supportedProtocols }}."
|
|
72
|
+
errors:
|
|
73
|
+
noConfigFileFound: "No config file was found. To create a new config file, use the \"hs init\" command."
|
|
74
|
+
unsupportedAuthType: "Unsupported auth type: {{ type }}. The only supported authentication protocols are {{ supportedProtocols }}."
|
|
75
|
+
positionals:
|
|
76
|
+
type:
|
|
77
|
+
describe: "Authentication mechanism"
|
|
78
|
+
defaultDescription: "\"{{ authMethod }}\": \nAn access token tied to a specific user account. This is the recommended way of authenticating with local development tools."
|
|
79
|
+
options:
|
|
80
|
+
account:
|
|
81
|
+
describe: "HubSpot account to authenticate"
|
|
82
|
+
success:
|
|
83
|
+
configFileUpdated: "Account \"{{ accountName }}\" updated in {{ configFilename }} using \"{{ authType }}\""
|
|
84
|
+
config:
|
|
85
|
+
describe: "Commands for working with the config file."
|
|
86
|
+
subcommands:
|
|
87
|
+
set:
|
|
88
|
+
describe: "Commands for modifying the CLI configuration"
|
|
89
|
+
promptMessage: "Select a config option to update"
|
|
90
|
+
examples:
|
|
91
|
+
default: "Opens a prompt to select a config item to modify"
|
|
92
|
+
options:
|
|
93
|
+
defaultMode:
|
|
94
|
+
describe: "Set the default mode"
|
|
95
|
+
promptMessage: "Select mode to be used as the default"
|
|
96
|
+
error: "The mode \"{{ mode }}\" is invalid. Valid values are {{ validModes }}."
|
|
97
|
+
success: "Default mode updated to: {{ mode }}"
|
|
98
|
+
allowUsageTracking:
|
|
99
|
+
describe: "Enable or disable usage tracking"
|
|
100
|
+
promptMessage: "Choose to enable or disable usage tracking"
|
|
101
|
+
success: "Allow usage tracking set to: \"{{ isEnabled }}\""
|
|
102
|
+
labels:
|
|
103
|
+
enabled: "Enabled"
|
|
104
|
+
disabled: "Disabled"
|
|
105
|
+
httpTimeout:
|
|
106
|
+
describe: "Set the http timeout duration"
|
|
107
|
+
promptMessage: "Enter http timeout duration"
|
|
108
|
+
success: "The http timeout has been set to: {{ timeout }}"
|
|
109
|
+
cms:
|
|
110
|
+
describe: "Commands for working with the CMS."
|
|
111
|
+
subcommands:
|
|
112
|
+
lighthouseScore:
|
|
113
|
+
describe: "Score a theme using Google lighthouse."
|
|
114
|
+
examples:
|
|
115
|
+
default: "Get the lighthouse score for the my-theme theme"
|
|
116
|
+
info:
|
|
117
|
+
promptMessage: "Select a theme to score"
|
|
118
|
+
fetchingThemes: "Fetching available themes"
|
|
119
|
+
generatingScore: "Generating Google Lighthouse score for {{ theme }}"
|
|
120
|
+
targetDeviceNote: "Scores are being shown for {{ target }} only."
|
|
121
|
+
verboseOptionNote: "Theme scores are averages of all theme templates. Use the [--verbose] option to include individual template scores."
|
|
122
|
+
pageTemplateScoreTitle: "Page template scores"
|
|
123
|
+
lighthouseLinksTitle: "Lighthouse links"
|
|
124
|
+
failedTemplatePathsTitle: "The following templates could not be scored"
|
|
125
|
+
errors:
|
|
126
|
+
targetOptionRequired: "[--target] is required for detailed view"
|
|
127
|
+
invalidTargetOption: "[--target] can only be used for detailed view"
|
|
128
|
+
themeNotFound: "Theme \"{{ theme }}\" not found. Please rerun using a valid theme path."
|
|
129
|
+
failedToFetchThemes: "Failed to fetch available themes. Try running again with the [--theme] option"
|
|
130
|
+
failedToGetLighthouseScore: "Failed to generate a Google Lighthouse score"
|
|
131
|
+
options:
|
|
132
|
+
theme:
|
|
133
|
+
describe: "Path to the theme in the Design Manager"
|
|
134
|
+
target:
|
|
135
|
+
describe: "Medium to test against"
|
|
136
|
+
verbose:
|
|
137
|
+
describe: "View a detailed output of the lighthouse sores"
|
|
138
|
+
create:
|
|
139
|
+
describe: "Create HubSpot sample apps and CMS assets. Supported assets are {{ supportedAssetTypes }}."
|
|
140
|
+
errors:
|
|
141
|
+
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 }}\"."
|
|
142
|
+
unsupportedAssetType: "The asset type {{ assetType }} is not supported. Supported asset types are {{ supportedAssetTypes }}."
|
|
143
|
+
unusablePath: "The \"{{ path }}\" is not a usable path to a directory."
|
|
144
|
+
positionals:
|
|
145
|
+
dest:
|
|
146
|
+
describe: "Destination folder for the new asset, relative to your current working directory. If omitted, this argument will default to your current working directory"
|
|
147
|
+
name:
|
|
148
|
+
describe: "Name of new asset"
|
|
149
|
+
type:
|
|
150
|
+
describe: "Type of asset"
|
|
151
|
+
subcommands:
|
|
152
|
+
apiSample:
|
|
153
|
+
errors:
|
|
154
|
+
nameRequired: "The \"name\" argument is required when creating an API Sample."
|
|
155
|
+
noSamples: "Currently there are no samples available, please, try again later."
|
|
156
|
+
info:
|
|
157
|
+
sampleChosen: "You've chosen {{ sampleType }} sample written on {{ sampleLanguage }} language"
|
|
158
|
+
loading:
|
|
159
|
+
apiSamples: "Loading available API samples"
|
|
160
|
+
success:
|
|
161
|
+
sampleCreated: "Please, follow {{ filePath }}/README.md to find out how to run the sample"
|
|
162
|
+
module:
|
|
163
|
+
errors:
|
|
164
|
+
nameRequired: "The \"name\" argument is required when creating a Custom Module."
|
|
165
|
+
template:
|
|
166
|
+
errors:
|
|
167
|
+
nameRequired: "The \"name\" argument is required when creating a Template."
|
|
168
|
+
customObject:
|
|
169
|
+
betaMessage: "The Custom Object CLI is currently in beta and is subject to change."
|
|
170
|
+
describe: "Manage Custom Objects. This feature is currently in beta and the CLI contract is subject to change."
|
|
171
|
+
seeMoreLink: "See {{ link }} to find out more."
|
|
172
|
+
subcommands:
|
|
173
|
+
create:
|
|
174
|
+
describe: "Create custom object instances"
|
|
175
|
+
errors:
|
|
176
|
+
creationFailed: "Object creation from {{ definition }} failed"
|
|
177
|
+
positionals:
|
|
178
|
+
definition:
|
|
179
|
+
describe: "Local path to the JSON file containing an array of object definitions"
|
|
180
|
+
name:
|
|
181
|
+
describe: "Schema name to add the object instance to"
|
|
182
|
+
success:
|
|
183
|
+
objectsCreated: "Objects created"
|
|
184
|
+
schema:
|
|
185
|
+
describe: "Manage custom object schemas"
|
|
186
|
+
subcommands:
|
|
187
|
+
create:
|
|
188
|
+
describe: "Create a custom object schema"
|
|
189
|
+
errors:
|
|
190
|
+
creationFailed: "Schema creation from {{ definition }} failed"
|
|
191
|
+
positionals:
|
|
192
|
+
definition:
|
|
193
|
+
describe: "Local path to the JSON file containing the schema definition"
|
|
194
|
+
success:
|
|
195
|
+
schemaCreated: "Your schema has been created in account \"{{ accountId }}\""
|
|
196
|
+
schemaViewable: "Schema can be viewed at {{ url }}"
|
|
197
|
+
delete:
|
|
198
|
+
describe: "Delete a custom object schema"
|
|
199
|
+
error:
|
|
200
|
+
delete: "Unable to delete {{ name }}"
|
|
201
|
+
examples:
|
|
202
|
+
default: "Delete \"schemaName\" schema"
|
|
203
|
+
positionals:
|
|
204
|
+
name:
|
|
205
|
+
describe: "Name of the target schema"
|
|
206
|
+
success:
|
|
207
|
+
delete: "Successfully initiated deletion of {{ name }}"
|
|
208
|
+
fetchAll:
|
|
209
|
+
describe: "Fetch all custom object schemas for an account"
|
|
210
|
+
errors:
|
|
211
|
+
fetch: "Unable to fetch schemas"
|
|
212
|
+
examples:
|
|
213
|
+
default: "Fetch all schemas for an account and put them in the current working directory"
|
|
214
|
+
specifyPath: "Fetch all schemas for an account and put them in a directory named my/folder"
|
|
215
|
+
positionals:
|
|
216
|
+
dest:
|
|
217
|
+
describe: "Local folder where schemas will be written"
|
|
218
|
+
success:
|
|
219
|
+
fetch: "Saved schemas to {{ path }}"
|
|
220
|
+
fetch:
|
|
221
|
+
describe: "Fetch a custom object schema"
|
|
222
|
+
errors:
|
|
223
|
+
fetch: "Unable to fetch {{ name }}"
|
|
224
|
+
examples:
|
|
225
|
+
default: "Fetch \"schemaId\" schema and put it in the current working directory"
|
|
226
|
+
specifyPath: "Fetch \"schemaId\" schema and put it in a directory named my/folder"
|
|
227
|
+
positionals:
|
|
228
|
+
dest:
|
|
229
|
+
describe: "Local folder where schema will be written"
|
|
230
|
+
name:
|
|
231
|
+
describe: "Name of the target schema"
|
|
232
|
+
success:
|
|
233
|
+
save: "The schema \"{{ name }}\" has been saved to \"{{ path }}\""
|
|
234
|
+
savedToPath: "Saved schema to {{ path }}"
|
|
235
|
+
list:
|
|
236
|
+
describe: "List schemas available on your account"
|
|
237
|
+
errors:
|
|
238
|
+
list: "Unable to list schemas"
|
|
239
|
+
update:
|
|
240
|
+
describe: "Update an existing custom object schema"
|
|
241
|
+
errors:
|
|
242
|
+
update: "Schema update from {{ definition }} failed"
|
|
243
|
+
positionals:
|
|
244
|
+
definition:
|
|
245
|
+
describe: "Local path to the JSON file containing the schema definition"
|
|
246
|
+
name:
|
|
247
|
+
describe: "Name of the target schema"
|
|
248
|
+
success:
|
|
249
|
+
update: "Your schema has been updated in account \"{{ accountId }}\""
|
|
250
|
+
viewAtUrl: "Schema can be viewed at {{ url }}"
|
|
251
|
+
fetch:
|
|
252
|
+
describe: "Fetch a file, directory or module from HubSpot and write to a path on your computer."
|
|
253
|
+
errors:
|
|
254
|
+
sourceRequired: "A source to fetch is required."
|
|
255
|
+
options:
|
|
256
|
+
staging:
|
|
257
|
+
describe: "Retrieve staged changes for project"
|
|
258
|
+
assetVersion:
|
|
259
|
+
describe: "Specify what version of a default asset to fetch"
|
|
260
|
+
positionals:
|
|
261
|
+
dest:
|
|
262
|
+
describe: "Local directory you would like the files to be placed in, relative to your current working directory"
|
|
263
|
+
src:
|
|
264
|
+
describe: "Path in HubSpot Design Tools"
|
|
265
|
+
filemanager:
|
|
266
|
+
describe: "Commands for working with the File Manager."
|
|
267
|
+
subcommands:
|
|
268
|
+
fetch:
|
|
269
|
+
describe: "Download a folder or file from the HubSpot File Manager to your computer"
|
|
270
|
+
errors:
|
|
271
|
+
sourceRequired: "A source to fetch is required."
|
|
272
|
+
options:
|
|
273
|
+
includeArchived:
|
|
274
|
+
describe: "Include files that have been marked as \"archived\""
|
|
275
|
+
positionals:
|
|
276
|
+
dest:
|
|
277
|
+
describe: "Path in HubSpot Design Tools"
|
|
278
|
+
src:
|
|
279
|
+
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"
|
|
280
|
+
upload:
|
|
281
|
+
describe: "Upload a folder or file from your computer to the HubSpot File Manager"
|
|
282
|
+
errors:
|
|
283
|
+
destinationRequired: "A destination path needs to be passed"
|
|
284
|
+
fileIgnored: "The file \"{{ path }}\" is being ignored via an .hsignore rule"
|
|
285
|
+
invalidPath: "The path \"{{ path }}\" is not a path to a file or folder"
|
|
286
|
+
upload: "Uploading file \"{{ src }}\" to \"{{ dest }}\" failed"
|
|
287
|
+
uploadingFailed: "Uploading failed"
|
|
288
|
+
logs:
|
|
289
|
+
uploading: "Uploading files from \"{{ src }}\" to \"{{ dest }}\" in the File Manager of account {{ accountId }}"
|
|
290
|
+
positionals:
|
|
291
|
+
dest:
|
|
292
|
+
describe: "Path in HubSpot Design Tools, can be a net new path"
|
|
293
|
+
src:
|
|
294
|
+
describe: "Path to the local file, relative to your current working directory"
|
|
295
|
+
success:
|
|
296
|
+
upload: "Uploaded file from \"{{ src }}\" to \"{{ dest }}\" in the File Manager of account {{ accountId }}"
|
|
297
|
+
uploadComplete: "Uploading files to \"{{ dest }}\" in the File Manager is complete"
|
|
298
|
+
functions:
|
|
299
|
+
describe: "Commands for working with functions."
|
|
300
|
+
subcommands:
|
|
301
|
+
deploy:
|
|
302
|
+
debug:
|
|
303
|
+
startingBuildAndDeploy: "Starting build and deploy for .functions folder with path: {{ functionPath }}"
|
|
304
|
+
errors:
|
|
305
|
+
buildError: "Build error: {{ details }}"
|
|
306
|
+
noPackageJson: "Unable to find package.json for function {{ functionPath }}."
|
|
307
|
+
notFunctionsFolder: "Specified path {{ functionPath }} is not a .functions folder."
|
|
308
|
+
examples:
|
|
309
|
+
default: "Build and deploy a new bundle for all functions within the myFunctionFolder.functions folder"
|
|
310
|
+
loading: "Building and deploying bundle for \"{{ functionPath }}\" on account \"{{ accountId }}\".\n"
|
|
311
|
+
positionals:
|
|
312
|
+
path:
|
|
313
|
+
describe: "Path to .functions folder"
|
|
314
|
+
success:
|
|
315
|
+
deployed: "Built and deployed bundle from package.json for {{ functionPath }} on account {{ accountId }} in {{ buildTimeSeconds }}s."
|
|
316
|
+
list:
|
|
317
|
+
debug:
|
|
318
|
+
gettingFunctions: "Getting currently deployed functions"
|
|
319
|
+
describe: "List currently deployed functions"
|
|
320
|
+
info:
|
|
321
|
+
noFunctions: "No functions found"
|
|
322
|
+
options:
|
|
323
|
+
json:
|
|
324
|
+
describe: "output raw json data"
|
|
325
|
+
server:
|
|
326
|
+
debug:
|
|
327
|
+
startingServer: "Starting local test server for .functions folder with path: {{ functionPath }}"
|
|
328
|
+
examples:
|
|
329
|
+
default: "Run a local function test server."
|
|
330
|
+
options:
|
|
331
|
+
contact:
|
|
332
|
+
describe: "Pass contact data to the test function"
|
|
333
|
+
logOutput:
|
|
334
|
+
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)"
|
|
335
|
+
port:
|
|
336
|
+
describe: "Port to run the test server on"
|
|
337
|
+
watch:
|
|
338
|
+
describe: "Watch the specified .functions folder for changes and restart the server"
|
|
339
|
+
positionals:
|
|
340
|
+
path:
|
|
341
|
+
describe: "Path to local .functions folder"
|
|
342
|
+
hubdb:
|
|
343
|
+
describe: "Manage HubDB tables."
|
|
344
|
+
subcommands:
|
|
345
|
+
clear:
|
|
346
|
+
describe: "Clear all rows in a HubDB table"
|
|
347
|
+
logs:
|
|
348
|
+
removedRows: "Removed {{ deletedRowCount }} rows from HubDB table {{ tableId }}"
|
|
349
|
+
rowCount: "HubDB table {{ tableId }} now contains {{ rowCount }} rows"
|
|
350
|
+
tableEmpty: "HubDB table {{ tableId }} is already empty"
|
|
351
|
+
positionals:
|
|
352
|
+
tableId:
|
|
353
|
+
describe: "HubDB Table ID"
|
|
354
|
+
create:
|
|
355
|
+
describe: "Create a HubDB table"
|
|
356
|
+
errors:
|
|
357
|
+
create: "Creating the table at \"{{ src }}\" failed"
|
|
358
|
+
positionals:
|
|
359
|
+
src:
|
|
360
|
+
describe: "Local path to file used for import"
|
|
361
|
+
success:
|
|
362
|
+
create: "The table {{ tableId }} was created in {{ accountId }} with {{ rowCount }} rows"
|
|
363
|
+
delete:
|
|
364
|
+
describe: "Delete a HubDB table"
|
|
365
|
+
errors:
|
|
366
|
+
delete: "Deleting the table {{ tableId }} failed"
|
|
367
|
+
positionals:
|
|
368
|
+
tableId:
|
|
369
|
+
describe: "HubDB Table ID"
|
|
370
|
+
success:
|
|
371
|
+
delete: "The table {{ tableId }} was deleted from {{ accountId }}"
|
|
372
|
+
fetch:
|
|
373
|
+
describe: "Fetch a HubDB table"
|
|
374
|
+
positionals:
|
|
375
|
+
dest:
|
|
376
|
+
describe: "Local destination folder to fetch table to"
|
|
377
|
+
tableId:
|
|
378
|
+
describe: "HubDB Table ID"
|
|
379
|
+
success:
|
|
380
|
+
fetch: "Downloaded HubDB table {{ tableId }} to {{ path }}"
|
|
381
|
+
init:
|
|
382
|
+
describe: "Initialize {{ configName }} for a HubSpot account."
|
|
383
|
+
options:
|
|
384
|
+
auth:
|
|
385
|
+
describe: "Specify auth method to use [\"personalaccesskey\", \"oauth2\"]"
|
|
386
|
+
defaultDescription: "\"{{ defaultType }}\": \nAn access token tied to a specific user account. This is the recommended way of authenticating with local development tools."
|
|
387
|
+
account:
|
|
388
|
+
describe: "HubSpot account to authenticate"
|
|
389
|
+
success:
|
|
390
|
+
configFileCreated: "Created config file \"{{ configPath }}\""
|
|
391
|
+
configFileUpdated: "Connected account \"{{ account }}\" using \"{{ authType }}\" and set it as the default account"
|
|
392
|
+
logs:
|
|
393
|
+
updateConfig: "To update an existing config file, use the \"hs auth\" command."
|
|
394
|
+
errors:
|
|
395
|
+
configFileExists: "The config file {{ configPath }} already exists."
|
|
396
|
+
lint:
|
|
397
|
+
issuesFound: "{{ count }} issues found."
|
|
398
|
+
groupName: "Linting {{ path }}"
|
|
399
|
+
positionals:
|
|
400
|
+
path:
|
|
401
|
+
describe: "Local folder to lint"
|
|
402
|
+
list:
|
|
403
|
+
describe: "List remote contents of a directory."
|
|
404
|
+
gettingPathContents: "Getting contents of {{ path }}."
|
|
405
|
+
noFilesFoundAtPath: "No files found in {{ path }}."
|
|
406
|
+
positionals:
|
|
407
|
+
path:
|
|
408
|
+
describe: "Remote directory to list contents"
|
|
409
|
+
logs:
|
|
410
|
+
describe: "Get logs for a function."
|
|
411
|
+
errors:
|
|
412
|
+
noLogsFound: "No logs were found for the function path \"{{ functionPath }}\" in account \"{{ accountId }}\"."
|
|
413
|
+
examples:
|
|
414
|
+
default: "Get 5 most recent logs for function residing at /_hcms/api/my-endpoint"
|
|
415
|
+
follow: "Poll for and output logs for function residing at /_hcms/api/my-endpoint immediately upon new execution"
|
|
416
|
+
limit: "Get 10 most recent logs for function residing at /_hcms/api/my-endpoint"
|
|
417
|
+
gettingLogs: "Getting {{#if latest}}latest {{/if}}logs for function with path: {{ functionPath }}."
|
|
418
|
+
options:
|
|
419
|
+
compact:
|
|
420
|
+
describe: "output compact logs"
|
|
421
|
+
follow:
|
|
422
|
+
describe: "follow logs"
|
|
423
|
+
latest:
|
|
424
|
+
describe: "retrieve most recent log only"
|
|
425
|
+
limit:
|
|
426
|
+
describe: "limit the number of logs to output"
|
|
427
|
+
positionals:
|
|
428
|
+
endpoint:
|
|
429
|
+
describe: "Serverless function endpoint"
|
|
430
|
+
tailLogs: "Waiting for log entries for \"{{ functionPath }}\" on account \"{{ accountId }}\".\n"
|
|
431
|
+
mv:
|
|
432
|
+
describe: "Move a remote file or folder in HubSpot. This feature is currently in beta and the CLI contract is subject to change."
|
|
433
|
+
errors:
|
|
434
|
+
sourcePathExists: "The folder \"{{ srcPath }}\" already exists in \"{{ destPath }}\"."
|
|
435
|
+
moveFailed: "Moving \"{{ srcPath }}\" to \"{{ destPath }}\" in account {{ accountId }} failed"
|
|
436
|
+
move: "Moved \"{{ srcPath }}\" to \"{{ destPath }}\" in account {{ accountId }}"
|
|
437
|
+
open:
|
|
438
|
+
describe: "Open a HubSpot page in your browser. Run \"hs open list\" to see all available shortcuts."
|
|
439
|
+
options:
|
|
440
|
+
list:
|
|
441
|
+
describe: "List all supported shortcuts"
|
|
442
|
+
positionals:
|
|
443
|
+
shortcut:
|
|
444
|
+
describe: "Shortcut of the link you'd like to open"
|
|
445
|
+
selectLink: "Select a link to open"
|
|
446
|
+
project:
|
|
447
|
+
subcommands:
|
|
448
|
+
dev:
|
|
449
|
+
describe: "Start local dev for the current project"
|
|
450
|
+
logs:
|
|
451
|
+
introHeader: "{{#bold}}HubSpot projects local development (beta){{/bold}}"
|
|
452
|
+
introBody1: "This command runs a file watcher that works together with a HubSpot account to allow developers to write code locally and test quickly."
|
|
453
|
+
introBody2: "All project file changes will be reflected in the target account after a slight delay."
|
|
454
|
+
placeholderAccountSelection: "Using default account as target account (for now)"
|
|
455
|
+
prodAccountWarning: "Targeting a non-sandbox account is risky because this command will upload changes to the target account. We recommend picking a sandbox account for any work that has not been finalized or is undergoing testing prior to deploying to production."
|
|
456
|
+
projectMustExistExplanation: "The project {{ projectName }} does not exist in the target account {{ accountIdentifier}}. This command requires the project to exist in the target account."
|
|
457
|
+
choseNotToCreateProject: "Exiting because this command requires the project to exist in the target account."
|
|
458
|
+
initialUploadMessage: "HubSpot Local Dev Server Startup"
|
|
459
|
+
status:
|
|
460
|
+
creatingProject: "Creating project {{ projectName }} in {{ accountIdentifier }}"
|
|
461
|
+
createdProject: "Created project {{ projectName }} in {{ accountIdentifier }}"
|
|
462
|
+
failedToCreateProject: "Failed to create project in the target account."
|
|
463
|
+
startupMessage: "Starting local dev server for {{#bold}}{{ projectName }}{{/bold}} ..."
|
|
464
|
+
startupFailed: "Failed to initialize local dev server"
|
|
465
|
+
prompt:
|
|
466
|
+
createProject: "Create new project {{ projectName}} in {{#bold}}[{{ accountIdentifier }}]{{/bold}}?"
|
|
467
|
+
targetNonSandbox: "Continue testing in a non-sandbox account?"
|
|
468
|
+
options:
|
|
469
|
+
port:
|
|
470
|
+
describe: "The port that the running server will listen on"
|
|
471
|
+
errors:
|
|
472
|
+
noProjectConfig: "No project detected. Please run this command again from a project directory."
|
|
473
|
+
examples:
|
|
474
|
+
default: "Start local dev for the current project"
|
|
475
|
+
create:
|
|
476
|
+
describe: "Create a new project"
|
|
477
|
+
logs:
|
|
478
|
+
welcomeMessage: "Welcome to HubSpot Developer Projects!"
|
|
479
|
+
examples:
|
|
480
|
+
default: "Create a new project"
|
|
481
|
+
options:
|
|
482
|
+
location:
|
|
483
|
+
describe: "Directory where project should be created"
|
|
484
|
+
name:
|
|
485
|
+
describe: "Project name (cannot be changed)"
|
|
486
|
+
template:
|
|
487
|
+
describe: "The starting template"
|
|
488
|
+
repoPath:
|
|
489
|
+
describe: "Path to custom GitHub repository from which to create project template"
|
|
490
|
+
add:
|
|
491
|
+
describe: "Create a new component within a project"
|
|
492
|
+
options:
|
|
493
|
+
name:
|
|
494
|
+
describe: "Component name"
|
|
495
|
+
type:
|
|
496
|
+
describe: "The type of component"
|
|
497
|
+
creatingComponent:
|
|
498
|
+
message: "Adding a new component to your project"
|
|
499
|
+
success:
|
|
500
|
+
message: "{{ componentName }} was added to your project"
|
|
501
|
+
error:
|
|
502
|
+
locationInProject: "The component location must be within a project folder"
|
|
503
|
+
examples:
|
|
504
|
+
default: "Create a component within your project"
|
|
505
|
+
deploy:
|
|
506
|
+
describe: "Deploy a project build"
|
|
507
|
+
debug:
|
|
508
|
+
deploying: "Deploying project at path: {{ path }}"
|
|
509
|
+
errors:
|
|
510
|
+
deploy: "Deploy error: {{ details }}"
|
|
511
|
+
noBuilds: "Deploy error: no builds for this project were found."
|
|
512
|
+
noBuildId: "You must specify a build to deploy"
|
|
513
|
+
examples:
|
|
514
|
+
default: "Deploy the latest build of the current project"
|
|
515
|
+
withOptions: "Deploy build 5 of the project my-project"
|
|
516
|
+
options:
|
|
517
|
+
buildId:
|
|
518
|
+
describe: "Project build ID to be deployed"
|
|
519
|
+
project:
|
|
520
|
+
describe: "Project name"
|
|
521
|
+
logs:
|
|
522
|
+
describe: "Get execution logs for a serverless function within a project"
|
|
523
|
+
errors:
|
|
524
|
+
invalidAppName: "Could not find app with name \"{{ appName }}\" in project \"{{ projectName }}\""
|
|
525
|
+
logs:
|
|
526
|
+
showingLogs: "Showing logs for:"
|
|
527
|
+
hubspotLogsLink: "View private apps in HubSpot"
|
|
528
|
+
hubspotLogsDirectLink: "View logs in HubSpot"
|
|
529
|
+
noLogsFound: "No logs were found for \"{{ name }}\""
|
|
530
|
+
table:
|
|
531
|
+
accountHeader: "Account"
|
|
532
|
+
projectHeader: "Project"
|
|
533
|
+
appHeader: "App"
|
|
534
|
+
functionHeader: "Function"
|
|
535
|
+
endpointHeader: "Endpoint"
|
|
536
|
+
examples:
|
|
537
|
+
default: "Open the project logs prompt to get logs for a serverless function"
|
|
538
|
+
withOptions: "Get logs for function named \"my-function\" within the app named \"app\" within the project named \"my-project\""
|
|
539
|
+
options:
|
|
540
|
+
app:
|
|
541
|
+
describe: "App name"
|
|
542
|
+
compact:
|
|
543
|
+
describe: "Output compact logs"
|
|
544
|
+
tail:
|
|
545
|
+
describe: "Tail logs"
|
|
546
|
+
latest:
|
|
547
|
+
describe: "Retrieve most recent log only"
|
|
548
|
+
limit:
|
|
549
|
+
describe: "Limit the number of logs to output"
|
|
550
|
+
project:
|
|
551
|
+
describe: "Project name"
|
|
552
|
+
function:
|
|
553
|
+
describe: "App function name"
|
|
554
|
+
endpoint:
|
|
555
|
+
describe: "Public endpoint path"
|
|
556
|
+
upload:
|
|
557
|
+
describe: "Upload your project files and create a new build"
|
|
558
|
+
examples:
|
|
559
|
+
default: "Upload a project"
|
|
560
|
+
logs:
|
|
561
|
+
buildSucceeded: "Build #{{ buildId }} succeeded\n"
|
|
562
|
+
readyToGoLive: "🚀 Ready to take your project live?"
|
|
563
|
+
runCommand: "Run `{{ command }}`"
|
|
564
|
+
options:
|
|
565
|
+
forceCreate:
|
|
566
|
+
describe: "Automatically create project if it does not exist"
|
|
567
|
+
message:
|
|
568
|
+
describe: "Add a message when you upload your project and create a build"
|
|
569
|
+
positionals:
|
|
570
|
+
path:
|
|
571
|
+
describe: "Path to a project folder"
|
|
572
|
+
unlock:
|
|
573
|
+
describe: "Unlock a locked project"
|
|
574
|
+
examples:
|
|
575
|
+
default: "Unlock a locked project in the myProjectsFolder folder"
|
|
576
|
+
logs:
|
|
577
|
+
unlockSucceeded: "Successfully unlocked the project"
|
|
578
|
+
positionals:
|
|
579
|
+
path:
|
|
580
|
+
describe: "Path to a project folder"
|
|
581
|
+
watch:
|
|
582
|
+
describe: "Watch your local project for changes and automatically upload changed files to a new build in HubSpot"
|
|
583
|
+
examples:
|
|
584
|
+
default: "Watch a project within the myProjectFolder folder"
|
|
585
|
+
logs:
|
|
586
|
+
processExited: "Stopping watcher..."
|
|
587
|
+
positionals:
|
|
588
|
+
path:
|
|
589
|
+
describe: "Path to a project folder"
|
|
590
|
+
options:
|
|
591
|
+
initialUpload:
|
|
592
|
+
describe: "Upload directory before watching for updates"
|
|
593
|
+
download:
|
|
594
|
+
describe: "Download your project files from HubSpot and write to a path on your computer"
|
|
595
|
+
examples:
|
|
596
|
+
default: "Download the project myProject into myProjectFolder folder"
|
|
597
|
+
logs:
|
|
598
|
+
downloadCancelled: "Cancelling project download"
|
|
599
|
+
downloadSucceeded: "Downloaded build \"{{ buildId }}\" from project \"{{ projectName }}\""
|
|
600
|
+
errors:
|
|
601
|
+
downloadFailed: "Something went wrong downloading the project"
|
|
602
|
+
projectNotFound: "Your project {{ projectName }} could not be found in {{ accountId }}"
|
|
603
|
+
options:
|
|
604
|
+
buildNumber:
|
|
605
|
+
describe: "The build number to download"
|
|
606
|
+
project:
|
|
607
|
+
describe: "The name of the project to download"
|
|
608
|
+
dest:
|
|
609
|
+
describe: "Destination folder for the project"
|
|
610
|
+
open:
|
|
611
|
+
describe: "Open available projects for the specified account"
|
|
612
|
+
options:
|
|
613
|
+
project:
|
|
614
|
+
describe: "Name of project to open"
|
|
615
|
+
examples:
|
|
616
|
+
default: "Opens the projects page for the specified account"
|
|
617
|
+
success: "Successfully opened \"{{ projectName }}\""
|
|
618
|
+
feedback:
|
|
619
|
+
describe: "Leave feedback on HubSpot projects or file a bug report"
|
|
620
|
+
success: "We opened {{ url }} in your browser."
|
|
621
|
+
options:
|
|
622
|
+
bug:
|
|
623
|
+
describe: "Open Github issues in your browser to report a bug."
|
|
624
|
+
general:
|
|
625
|
+
describe: "Open the projects feedback form in your browser."
|
|
626
|
+
remove:
|
|
627
|
+
describe: "Delete a file or folder from HubSpot."
|
|
628
|
+
deleted: "Deleted \"{{ path }}\" from account {{ accountId }}"
|
|
629
|
+
errors:
|
|
630
|
+
deleteFailed: "Deleting \"{{ path }}\" from account {{ accountId }} failed"
|
|
631
|
+
positionals:
|
|
632
|
+
path:
|
|
633
|
+
describe: "Remote hubspot path"
|
|
634
|
+
sandbox:
|
|
635
|
+
describe: "Commands for working with sandboxes."
|
|
636
|
+
subcommands:
|
|
637
|
+
create:
|
|
638
|
+
describe: "Create a sandbox account"
|
|
639
|
+
examples:
|
|
640
|
+
default: "Creates a standard sandbox account named MySandboxAccount."
|
|
641
|
+
force: "Skips all confirmation prompts when creating a sandbox account."
|
|
642
|
+
debug:
|
|
643
|
+
error: "Error creating sandbox:"
|
|
644
|
+
info:
|
|
645
|
+
auth: "Run `hs auth` to authenticate with the new sandbox account."
|
|
646
|
+
options:
|
|
647
|
+
name:
|
|
648
|
+
describe: "Name to use for created sandbox"
|
|
649
|
+
type:
|
|
650
|
+
describe: "Type of sandbox to create (standard | development)"
|
|
651
|
+
failure:
|
|
652
|
+
optionMissing:
|
|
653
|
+
type: "Invalid or missing sandbox --type option in command. Please try again."
|
|
654
|
+
name: "Invalid or missing sandbox --name option in command. Please try again."
|
|
655
|
+
creatingWithinSandbox: "Sandboxes must be created from a production account. Your current default account {{#bold}}{{ sandboxName }}{{/bold}} is a {{ sandboxType }} sandbox.
|
|
656
|
+
\n- Run {{#bold}}hs accounts use{{/bold}} to switch to your default account to your production account.
|
|
657
|
+
\n- Run {{#bold}}hs auth{{/bold}} to connect a production account to the HubSpot CLI.\n"
|
|
658
|
+
delete:
|
|
659
|
+
describe: "Delete a sandbox account"
|
|
660
|
+
debug:
|
|
661
|
+
deleting: "Deleting sandbox account \"{{ account }}\""
|
|
662
|
+
error: "Error deleting sandbox account:"
|
|
663
|
+
examples:
|
|
664
|
+
default: "Deletes the sandbox account named MySandboxAccount."
|
|
665
|
+
force: "Skips all confirmation prompts when deleting a sandbox account."
|
|
666
|
+
confirm: "Delete sandbox {{#bold}}{{ account }}{{/bold}}? All data for this sandbox will be permanently deleted."
|
|
667
|
+
defaultAccountWarning: "The sandbox {{#bold}}{{ account }}{{/bold}} is currently set as the default account."
|
|
668
|
+
success:
|
|
669
|
+
delete: "Sandbox \"{{ account }}\" with portalId \"{{ sandboxHubId }}\" was deleted successfully."
|
|
670
|
+
deleteDefault: "Sandbox \"{{ account }}\" with portalId \"{{ sandboxHubId }}\" was deleted successfully and removed as the default account."
|
|
671
|
+
configFileUpdated: "Removed account {{ account }} from {{ configFilename }}."
|
|
672
|
+
failure:
|
|
673
|
+
noAccount: "No account specified. Specify an account by using the --account flag."
|
|
674
|
+
noSandboxAccounts: "There are no sandboxes connected to the CLI. To add a sandbox, run {{#bold}}hs auth{{/bold}}."
|
|
675
|
+
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."
|
|
676
|
+
objectNotFound: "Sandbox {{#bold}}{{ account }}{{/bold}} may have been be deleted through the UI. The account has been removed from the config."
|
|
677
|
+
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}}."
|
|
678
|
+
invalidKey: "Your personal access key for account {{#bold}}{{ account }}{{/bold}} is inactive. To re-authenticate, please run {{#bold}}hs auth personalaccesskey{{/bold}}."
|
|
679
|
+
options:
|
|
680
|
+
account:
|
|
681
|
+
describe: "Account name or id to delete"
|
|
682
|
+
sync:
|
|
683
|
+
describe: "Sync to a sandbox account"
|
|
684
|
+
examples:
|
|
685
|
+
default: "Initiates a sync to a sandbox account."
|
|
686
|
+
force: "Skips all confirmation prompts when initiating a sync."
|
|
687
|
+
info:
|
|
688
|
+
developmentSandbox: "This will sync CRM object definitions."
|
|
689
|
+
standardSandbox: "This will sync all supported assets.
|
|
690
|
+
\nTo sync only specific assets, follow this link: {{#bold}}{{ url }}{{/bold}}"
|
|
691
|
+
sync: "\nSync direction:
|
|
692
|
+
\n- Target sandbox: {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}}
|
|
693
|
+
\n- Source account: {{#bold}}{{ parentAccountName }}{{/bold}}
|
|
694
|
+
\n\nRun {{#bold}}hs accounts use{{/bold}} to change your default account and sync to a different target sandbox."
|
|
695
|
+
warning:
|
|
696
|
+
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."
|
|
697
|
+
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."
|
|
698
|
+
confirm:
|
|
699
|
+
developmentSandbox: "Sync CRM object definitions to {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}} from {{#bold}}{{ parentAccountName }}{{/bold}}?"
|
|
700
|
+
standardSandbox: "Sync all supported assets to {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}} from {{#bold}}{{ parentAccountName }}{{/bold}}?"
|
|
701
|
+
failure:
|
|
702
|
+
notSandbox: "Sync must be run in a sandbox account. Your default account is a production account. 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."
|
|
703
|
+
missingParentPortal: "The production account associated to {{#bold}}{{ sandboxName }}{{/bold}} is not connected to your HubSpot CLI.
|
|
704
|
+
\n- Run {{#bold}}hs auth{{/bold}} to connect that account to your terminal, then try again.
|
|
705
|
+
\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"
|
|
706
|
+
secrets:
|
|
707
|
+
describe: "Manage HubSpot secrets."
|
|
708
|
+
subcommands:
|
|
709
|
+
add:
|
|
710
|
+
describe: "Add a HubSpot secret"
|
|
711
|
+
errors:
|
|
712
|
+
add: "The secret \"{{ secretName }}\" was not added"
|
|
713
|
+
positionals:
|
|
714
|
+
name:
|
|
715
|
+
describe: "Name of the secret"
|
|
716
|
+
success:
|
|
717
|
+
add: "The secret \"{{ secretName }}\" was added to the HubSpot account: {{ accountIdentifier }}"
|
|
718
|
+
delete:
|
|
719
|
+
describe: "Delete a HubSpot secret"
|
|
720
|
+
errors:
|
|
721
|
+
delete: "The secret \"{{ secretName }}\" was not deleted"
|
|
722
|
+
positionals:
|
|
723
|
+
name:
|
|
724
|
+
describe: "Name of the secret"
|
|
725
|
+
success:
|
|
726
|
+
delete: "The secret \"{{ secretName }}\" was deleted from the HubSpot account: {{ accountIdentifier }}"
|
|
727
|
+
list:
|
|
728
|
+
describe: "List all HubSpot secrets"
|
|
729
|
+
errors:
|
|
730
|
+
list: "The secrets could not be listed"
|
|
731
|
+
groupLabel: "Secrets for account {{ accountIdentifier }}:"
|
|
732
|
+
update:
|
|
733
|
+
describe: "Update an existing HubSpot secret"
|
|
734
|
+
errors:
|
|
735
|
+
update: "The secret \"{{ secretName }}\" was not updated"
|
|
736
|
+
positionals:
|
|
737
|
+
name:
|
|
738
|
+
describe: "Name of the secret to be updated"
|
|
739
|
+
success:
|
|
740
|
+
update: "The secret \"{{ secretName }}\" was updated in the HubSpot account: {{ accountIdentifier }}"
|
|
741
|
+
updateReupload: "Make sure to `{{#yellow}}upload{{/yellow}}` all serverless functions using this secret to access its new value."
|
|
742
|
+
theme:
|
|
743
|
+
describe: "Commands for working with themes, including marketplace validation with the marketplace-validate subcommand."
|
|
744
|
+
subcommands:
|
|
745
|
+
marketplaceValidate:
|
|
746
|
+
describe: "Validate a theme for the marketplace"
|
|
747
|
+
errors:
|
|
748
|
+
invalidPath: "The path \"{{ path }}\" is not a path to a folder in the Design Manager"
|
|
749
|
+
logs:
|
|
750
|
+
validatingTheme: "Validating theme \"{{ path }}\" \n"
|
|
751
|
+
results:
|
|
752
|
+
required: "Required validation results:"
|
|
753
|
+
recommended: "Recommended validation results:"
|
|
754
|
+
warnings:
|
|
755
|
+
file: "File: {{ file }}"
|
|
756
|
+
lineNumber: "Line number: {{ line }}"
|
|
757
|
+
noErrors: "No errors"
|
|
758
|
+
positionals:
|
|
759
|
+
src:
|
|
760
|
+
describe: "Path to the theme within the Design Manager."
|
|
761
|
+
module:
|
|
762
|
+
describe: "Commands for working with modules, including marketplace validation with the marketplace-validate subcommand."
|
|
763
|
+
subcommands:
|
|
764
|
+
marketplaceValidate:
|
|
765
|
+
describe: "Validate a module for the marketplace. Make sure to include the suffix .module in the path to the module within the Design Manager."
|
|
766
|
+
errors:
|
|
767
|
+
invalidPath: "The path \"{{ path }}\" is not a path to a module within the Design Manager."
|
|
768
|
+
logs:
|
|
769
|
+
validatingModule: "Validating module \"{{ path }}\" \n"
|
|
770
|
+
options:
|
|
771
|
+
json:
|
|
772
|
+
describe: "Output raw json data"
|
|
773
|
+
results:
|
|
774
|
+
required: "Required validation results:"
|
|
775
|
+
recommended: "Recommended validation results:"
|
|
776
|
+
warnings:
|
|
777
|
+
file: "File: {{ file }}"
|
|
778
|
+
lineNumber: "Line number: {{ line }}"
|
|
779
|
+
noErrors: "No errors"
|
|
780
|
+
positionals:
|
|
781
|
+
src:
|
|
782
|
+
describe: "Path to the module within the Design Manager."
|
|
783
|
+
upload:
|
|
784
|
+
describe: "Upload a folder or file from your computer to the HubSpot CMS."
|
|
785
|
+
errors:
|
|
786
|
+
destinationRequired: "A destination path needs to be passed"
|
|
787
|
+
fileIgnored: "The file \"{{ path }}\" is being ignored via an .hsignore rule"
|
|
788
|
+
invalidPath: "The path \"{{ path }}\" is not a path to a file or folder"
|
|
789
|
+
uploadFailed: "Uploading file \"{{ src }}\" to \"{{ dest }}\" failed"
|
|
790
|
+
someFilesFailed: "One or more files failed to upload to \"{{ dest }}\" in the Design Manager"
|
|
791
|
+
options:
|
|
792
|
+
options:
|
|
793
|
+
describe: "Options to pass to javascript fields files"
|
|
794
|
+
saveOutput:
|
|
795
|
+
describe: "If true, saves all output from javascript fields files as 'fields.output.json'."
|
|
796
|
+
convertFields:
|
|
797
|
+
describe: "If true, converts any javascript fields files contained in module folder or project root."
|
|
798
|
+
previewUrl: "To preview this theme, visit: {{ previewUrl }}"
|
|
799
|
+
positionals:
|
|
800
|
+
src:
|
|
801
|
+
describe: "Path to the local file, relative to your current working directory."
|
|
802
|
+
dest:
|
|
803
|
+
describe: "Path in HubSpot Design Tools, can be a net new path."
|
|
804
|
+
success:
|
|
805
|
+
fileUploaded: "Uploaded file from \"{{ src }}\" to \"{{ dest }}\" in the Design Manager of account {{ accountId }}"
|
|
806
|
+
uploadComplete: "Uploading files to \"{{ dest }}\" in the Design Manager is complete"
|
|
807
|
+
uploading: "Uploading files from \"{{ src }}\" to \"{{ dest }}\" in the Design Manager of account {{ accountId }}"
|
|
808
|
+
notUploaded: "There was an error processing \"{{ src }}\". The file has not been uploaded."
|
|
809
|
+
watch:
|
|
810
|
+
describe: "Watch a directory on your computer for changes and upload the changed files to the HubSpot CMS."
|
|
811
|
+
errors:
|
|
812
|
+
destinationRequired: "A destination directory needs to be passed"
|
|
813
|
+
invalidPath: "The \"{{ path }}\" is not a path to a directory"
|
|
814
|
+
options:
|
|
815
|
+
disableInitial:
|
|
816
|
+
describe: "Disable the initial upload when watching a directory (default)"
|
|
817
|
+
initialUpload:
|
|
818
|
+
describe: "Upload directory before watching for updates"
|
|
819
|
+
notify:
|
|
820
|
+
describe: "Log to specified file when a watch task is triggered and after workers have gone idle. Ex. --notify path/to/file"
|
|
821
|
+
remove:
|
|
822
|
+
describe: "Will cause watch to delete files in your HubSpot account that are not found locally."
|
|
823
|
+
convertFields:
|
|
824
|
+
describe: "If true, converts any javascript fields files contained in module folder or project root."
|
|
825
|
+
saveOutput:
|
|
826
|
+
describe: "If true, saves all output from javascript fields files as 'fields.output.json'."
|
|
827
|
+
options:
|
|
828
|
+
describe: "Options to pass to javascript fields files"
|
|
829
|
+
positionals:
|
|
830
|
+
src:
|
|
831
|
+
describe: "Path to the local directory your files are in, relative to your current working directory"
|
|
832
|
+
dest:
|
|
833
|
+
describe: "Path in HubSpot Design Tools. Can be a net new path"
|
|
834
|
+
warnings:
|
|
835
|
+
disableInitial: "Passing the \"--disable-initial\" option is no longer necessary. Running \"hs watch\" no longer uploads the watched directory by default."
|
|
836
|
+
initialUpload: "To upload the directory run \"hs upload\" beforehand or add the \"--initial-upload\" option when running \"hs watch\"."
|
|
837
|
+
notUploaded: "The \"hs watch\" command no longer uploads the watched directory when started. The directory \"{{ path }}\" was not uploaded."
|
|
838
|
+
convertFields:
|
|
839
|
+
describe: "Converts a specific JavaScript fields file of a module or theme to JSON"
|
|
840
|
+
positionals:
|
|
841
|
+
src:
|
|
842
|
+
describe: Path to JS Fields file or directory containing javascript fields files.
|
|
843
|
+
options:
|
|
844
|
+
options:
|
|
845
|
+
describe: "Options to pass to javascript fields files"
|
|
846
|
+
lib:
|
|
847
|
+
LocalDevManager:
|
|
848
|
+
exitingStart: "Stopping local dev server ..."
|
|
849
|
+
exitingSucceed: "Successfully exited"
|
|
850
|
+
exitingFail: "Failed to clean up before exiting"
|
|
851
|
+
previousStagingBuildCancelled: "Failed to create a staging build because the project was already locked. It is now unlocked. Run the command again."
|
|
852
|
+
cancelledFromUI: "The dev process has been cancelled from the UI. Any changes made since cancelling have not been uploaded. To resume dev mode, rerun {{#yellow}}`hs project dev`{{/yellow}}."
|
|
853
|
+
header:
|
|
854
|
+
running: "Running {{ projectName}} locally on {{ accountIdentifier }}, waiting for project file changes ..."
|
|
855
|
+
quitHelper: "Press {{#bold}}'q'{{/bold}} to stop the local dev server"
|
|
856
|
+
viewInHubSpotLink: "View in HubSpot"
|
|
857
|
+
status:
|
|
858
|
+
clean: "{{#bold}}Status:{{/bold}} {{#green}}Everything up to date{{/green}}"
|
|
859
|
+
uploadPending: "{{#bold}}Status:{{/bold}} {{#yellow}}Upload is pending{{/yellow}}"
|
|
860
|
+
noUploadsAllowed: "{{#bold}}Status:{{/bold}} {{#red}}Change requires upload, but uploads are not allowed{{/red}}"
|
|
861
|
+
manualUploadRequired: "{{#bold}}Status:{{/bold}} {{#yellow}}Change requires manual upload{{/yellow}}"
|
|
862
|
+
supportedChange: "{{#bold}}Status:{{/bold}} {{#green}}Change handled by local dev server{{/green}}"
|
|
863
|
+
manualUpload: "{{#bold}}Status:{{/bold}} {{#green}}Manually uploading pending changes{{/green}}"
|
|
864
|
+
upload:
|
|
865
|
+
noUploadsAllowed: "The change to {{ filePath }} requires an upload, but the CLI cannot upload to a project that is using a github integration."
|
|
866
|
+
manualUploadSkipped: "Manual upload skipped. Some changes may not be visible."
|
|
867
|
+
manualUploadRequired: "Project files changed, manual upload and deploy is needed ..."
|
|
868
|
+
manualUploadExplanation1: "{{#yellow}}> Dev server is running on a {{#bold}}non-sandbox account{{/bold}}.{{/yellow}}"
|
|
869
|
+
manualUploadExplanation2: "{{#yellow}}> Uploading changes may overwrite production data.{{/yellow}}"
|
|
870
|
+
manualUploadPrompt: "? Manually upload and deploy project? {{#green}}Y/n{{/green}}"
|
|
871
|
+
uploadingChange: "[INFO] Uploading {{ filePath }}"
|
|
872
|
+
uploadingChanges: "{{#bold}}Building and deploying recent changes on {{ accountIdentifier }}{{/bold}}"
|
|
873
|
+
projects:
|
|
874
|
+
uploadProjectFiles:
|
|
875
|
+
add: "Uploading {{#bold}}{{ projectName }}{{/bold}} project files to {{ accountIdentifier }}"
|
|
876
|
+
fail: "Failed to upload {{#bold}}{{ projectName }}{{/bold}} project files to {{ accountIdentifier }}"
|
|
877
|
+
succeed: "Uploaded {{#bold}}{{ projectName }}{{/bold}} project files to {{ accountIdentifier }}"
|
|
878
|
+
buildCreated: "Project \"{{ projectName }}\" uploaded and build #{{ buildId }} created"
|
|
879
|
+
projectLockedError: "\nYour project may be locked by an active `{{#yellow}}hs project watch{{/yellow}}`. Try stopping the `{{#yellow}}watch{{/yellow}}` process before uploading.\nIf that doesn't work, you may need to start and stop a new `{{#yellow}}watch{{/yellow}}` process to unlock the project."
|
|
880
|
+
handleProjectUpload:
|
|
881
|
+
emptySource: "Source directory \"{{ srcDir }}\" is empty. Add files to your project and rerun `{{#yellow}}hs project upload{{/yellow}}` to upload them to HubSpot."
|
|
882
|
+
compressed: "Project files compressed: {{ byteCount }} bytes"
|
|
883
|
+
compressing: "Compressing build files to \"{{ path }}\""
|
|
884
|
+
ensureProjectExists:
|
|
885
|
+
createPrompt: "The project {{ projectName }} does not exist in {{ accountIdentifier }}. Would you like to create it?"
|
|
886
|
+
createSuccess: "New project {{#bold}}{{ projectName }}{{/bold}} successfully created in {{#bold}}{{ accountIdentifier }}{{/bold}}."
|
|
887
|
+
notFound: "Your project {{#bold}}{{ projectName }}{{/bold}} could not be found in {{#bold}}{{ accountIdentifier }}{{/bold}}."
|
|
888
|
+
makePollTaskStatusFunc:
|
|
889
|
+
componentCountSingular: "Found 1 component in this project"
|
|
890
|
+
componentCount: "Found {{ numComponents }} components in this project"
|
|
891
|
+
successStatusText: "DONE"
|
|
892
|
+
failedStatusText: "FAILED"
|
|
893
|
+
pollProjectBuildAndDeploy:
|
|
894
|
+
buildSucceededAutomaticallyDeploying: "Build #{{ buildId }} succeeded. {{#bold}}Automatically deploying{{/bold}} to {{ accountIdentifier }}\n"
|
|
895
|
+
cleanedUpTempFile: "Cleaned up temporary file {{ path }}"
|
|
896
|
+
logFeedbackMessage:
|
|
897
|
+
feedbackHeader: "We'd love to hear your feedback!"
|
|
898
|
+
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"
|
|
899
|
+
ui:
|
|
900
|
+
betaWarning:
|
|
901
|
+
header: "{{#yellow}}***************************** WARNING ****************************{{/yellow}}"
|
|
902
|
+
footer: "{{#yellow}}******************************************************************{{/yellow}}"
|
|
903
|
+
featureHighlight:
|
|
904
|
+
defaultTitle: "What's next?"
|
|
905
|
+
commandKeys:
|
|
906
|
+
accountOption:
|
|
907
|
+
command: "--account"
|
|
908
|
+
message: "Use the {{ command }} option with any command to override the default account"
|
|
909
|
+
accountsListCommand:
|
|
910
|
+
command: hs accounts list
|
|
911
|
+
message: "Run {{ command }} to see a list of configured HubSpot accounts"
|
|
912
|
+
accountsUseCommand:
|
|
913
|
+
command: "hs accounts use"
|
|
914
|
+
message: "Run {{ command }} to set the Hubspot account that the CLI will target by default"
|
|
915
|
+
authCommand:
|
|
916
|
+
command: "hs auth"
|
|
917
|
+
message: "Run {{ command }} to connect the CLI to additional HubSpot accounts"
|
|
918
|
+
feedbackCommand:
|
|
919
|
+
command: "hs feedback"
|
|
920
|
+
message: "Run {{ command }} to report a bug or leave feedback"
|
|
921
|
+
helpCommand:
|
|
922
|
+
command: "hs help"
|
|
923
|
+
message: "Run {{ command }} to see a list of available commands"
|
|
924
|
+
projectDeployCommand:
|
|
925
|
+
command: "hs project deploy"
|
|
926
|
+
message: "Ready to take your project live? Run {{ command }}"
|
|
927
|
+
projectHelpCommand:
|
|
928
|
+
command: "hs project --help"
|
|
929
|
+
message: "Run {{ command }} to learn more about available project commands"
|
|
930
|
+
projectUploadCommand:
|
|
931
|
+
command: "hs project upload"
|
|
932
|
+
message: "Run {{ command }} to upload your project to HubSpot and trigger builds"
|
|
933
|
+
projectDevCommand:
|
|
934
|
+
command: "hs project dev"
|
|
935
|
+
message: "Run {{ command }} to start testing your project locally."
|
|
936
|
+
sandboxSyncDevelopmentCommand:
|
|
937
|
+
command: "hs sandbox sync"
|
|
938
|
+
message: "Run {{ command }} to to update CRM object definitions in your sandbox."
|
|
939
|
+
sandboxSyncStandardCommand:
|
|
940
|
+
command: "hs sandbox sync"
|
|
941
|
+
message: "Run {{ command }} to to update all supported assets to your sandbox from production."
|
|
942
|
+
commonOpts:
|
|
943
|
+
options:
|
|
944
|
+
portal:
|
|
945
|
+
describe: "HubSpot portal id or name from config"
|
|
946
|
+
config:
|
|
947
|
+
describe: "Path to a config file"
|
|
948
|
+
overwrite:
|
|
949
|
+
describe: "Overwrite existing files"
|
|
950
|
+
modes:
|
|
951
|
+
describe:
|
|
952
|
+
default: "{{ modes }}"
|
|
953
|
+
read: "Read from {{ modes }}"
|
|
954
|
+
write: "Write to {{ modes }}"
|
|
955
|
+
qa:
|
|
956
|
+
describe: "Run command in QA mode"
|
|
957
|
+
useEnv:
|
|
958
|
+
describe: "Use environment variable config"
|
|
959
|
+
prompts:
|
|
960
|
+
projectDevTargetAccountPrompt:
|
|
961
|
+
createNewSandboxOption: "<< Create a new development sandbox account >>"
|
|
962
|
+
chooseNonSandboxOption: "<< Choose a non-sandbox account >>"
|
|
963
|
+
chooseNonSandboxAccount: "[--account] Choose a non-sandbox account to test with:"
|
|
964
|
+
chooseSandboxAccount: "[--account] Choose a sandbox account to test with:"
|
|
965
|
+
defaultAccountNotProd: "Option unavailable because your default account must be a production account."
|
|
966
|
+
sandboxLimit: "Option unavailable because you’ve reached the limit of {{ limit }} development sandboxes."
|
|
967
|
+
projectLogsPrompt:
|
|
968
|
+
projectName:
|
|
969
|
+
message: "[--project] Enter the project name:"
|
|
970
|
+
error: "Project name is required"
|
|
971
|
+
logType:
|
|
972
|
+
message: "Select the type of serverless function"
|
|
973
|
+
function: "App function"
|
|
974
|
+
endpoint: "Public endpoint"
|
|
975
|
+
appName: "[--app] Select the app"
|
|
976
|
+
functionName: "[--function] Enter the app function name:"
|
|
977
|
+
endpointName: "[--endpoint] Enter the public endpoint path:"
|
|
978
|
+
setAsDefaultAccountPrompt:
|
|
979
|
+
setAsDefaultAccountMessage: "Set this account as the default?"
|
|
980
|
+
setAsDefaultAccount: "Account \"{{ accountName }}\" set as the default account"
|
|
981
|
+
keepingCurrentDefault: "Account \"{{ accountName }}\" will continue to be the default account"
|
|
982
|
+
enterAccountNamePrompt:
|
|
983
|
+
enterAccountName: "Enter a unique name to reference this account in the CLI:"
|
|
984
|
+
errors:
|
|
985
|
+
invalidName: "You entered an invalid name. Please try again."
|
|
986
|
+
nameRequired: "The name may not be blank. Please try again."
|
|
987
|
+
spacesInName: "The name may not contain spaces. Please try again."
|
|
988
|
+
accountNameExists: "Account name \"{{ name }}\" already exists, please enter a different name."
|
|
989
|
+
personalAccessKeyPrompt:
|
|
990
|
+
enterAccountId: "Enter the account ID for your account (the number under the DOMAIN column at https://app.hubspot.com/myaccounts-beta ): "
|
|
991
|
+
enterClientId: "Enter your OAuth2 client ID: "
|
|
992
|
+
enterClientSecret: "Enter your OAuth2 client secret: "
|
|
993
|
+
enterPersonalAccessKey: "Enter your personal access key: "
|
|
994
|
+
selectScopes: "Select access scopes (see https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes)"
|
|
995
|
+
personalAccessKeySetupTitle: "HubSpot Personal Access Key Setup"
|
|
996
|
+
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."
|
|
997
|
+
personalAccessKeyBrowserOpenPrompt: "Open hubspot.com to copy your personal access key?"
|
|
998
|
+
logs:
|
|
999
|
+
openingWebBrowser: "Opening {{ url }} in your web browser"
|
|
1000
|
+
errors:
|
|
1001
|
+
invalidAccountId: "You did not enter a valid account ID. Please try again."
|
|
1002
|
+
invalidOauthClientId: "You entered an invalid OAuth2 client ID. Please try again."
|
|
1003
|
+
invalidOauthClientIdLength: "The OAuth2 client ID must be 36 characters long. Please try again."
|
|
1004
|
+
invalidOauthClientSecret: "You entered an invalid OAuth2 client secret. Please try again."
|
|
1005
|
+
invalidOauthClientSecretLength: "The OAuth2 client secret must be 36 characters long. Please try again."
|
|
1006
|
+
invalidOauthClientSecretCopy: "Please copy the actual OAuth2 client secret rather than the asterisks that mask it."
|
|
1007
|
+
invalidPersonalAccessKey: "You did not enter a valid access key. Please try again."
|
|
1008
|
+
invalidPersonalAccessKeyCopy: "Please copy the actual access key rather than the bullets that mask it."
|
|
1009
|
+
folderOverwritePrompt:
|
|
1010
|
+
overwriteConfirm: "The folder with name \"{{ folderName }}\" already exists. Overwrite?"
|
|
1011
|
+
createTemplatePrompt:
|
|
1012
|
+
selectTemplate: "Select the type of template to create"
|
|
1013
|
+
createModulePrompt:
|
|
1014
|
+
enterLabel: "What should the module label be?"
|
|
1015
|
+
selectContentType: "What types of content will this module be used in?"
|
|
1016
|
+
confirmGlobal: "Is this a global module?"
|
|
1017
|
+
errors:
|
|
1018
|
+
invalidLabel: "You entered an invalid name. Please try again."
|
|
1019
|
+
labelRequired: "The name may not be blank. Please try again."
|
|
1020
|
+
contentTypeRequired: "Please select at least one content type for this module."
|
|
1021
|
+
createFunctionPrompt:
|
|
1022
|
+
enterFolder: "Name of the folder where your function will be created: "
|
|
1023
|
+
enterFilename: "Name of the JavaScript file for your function: "
|
|
1024
|
+
enterEndpointPath: "Path portion of the URL created for the function: "
|
|
1025
|
+
selectEndpointMethod: "Select the HTTP method for the endpoint"
|
|
1026
|
+
errors:
|
|
1027
|
+
invalid: "You entered an invalid name. Please try again."
|
|
1028
|
+
blank: "The name may not be blank. Please try again."
|
|
1029
|
+
space: "The name may not contain spaces. Please try again."
|
|
1030
|
+
createApiSamplePrompt:
|
|
1031
|
+
selectApiSampleApp: "Please, select API sample app"
|
|
1032
|
+
selectLanguage: "Please, select sample app's language"
|
|
1033
|
+
errors:
|
|
1034
|
+
apiSampleAppRequired: "Please select API sample app"
|
|
1035
|
+
languageRequired: "Please select API sample app's language"
|
|
1036
|
+
createProjectPrompt:
|
|
1037
|
+
enterName: "[--name] Give your project a name: "
|
|
1038
|
+
enterLocation: "[--location] Where should the project be created?"
|
|
1039
|
+
selectTemplate: "[--template] Start from a template?"
|
|
1040
|
+
errors:
|
|
1041
|
+
nameRequired: "A project name is required"
|
|
1042
|
+
locationRequired: "A project location is required"
|
|
1043
|
+
invalidTemplate: "[--template] Could not find template {{ template }}. Please choose an available template."
|
|
1044
|
+
noProjectsInConfig: "Please ensure that there is a config.json file that contains a \"projects\" field."
|
|
1045
|
+
missingPropertiesInConfig: "Please ensure that each of the projects in your config.json file contain the following properties: [\"name\", \"label\", \"path\", \"insertPath\"]."
|
|
1046
|
+
downloadProjectPrompt:
|
|
1047
|
+
selectProject: "Select a project to download:"
|
|
1048
|
+
errors:
|
|
1049
|
+
projectNotFound: "Your project {{ projectName }} could not be found in {{ accountId }}. Please select a valid project:"
|
|
1050
|
+
projectAddPrompt:
|
|
1051
|
+
selectType: "[--type] Select your component type:"
|
|
1052
|
+
enterName: "[--name] Give your component a name: "
|
|
1053
|
+
errors:
|
|
1054
|
+
nameRequired: "A component name is required"
|
|
1055
|
+
invalidType: "[--type] Could not find type {{ type }}. Please choose an available type."
|
|
1056
|
+
secretPrompt:
|
|
1057
|
+
enterValue: "Enter a value for your secret: "
|
|
1058
|
+
errors:
|
|
1059
|
+
invalidValue: "You entered an invalid value. Please try again."
|
|
1060
|
+
sandboxesPrompt:
|
|
1061
|
+
name:
|
|
1062
|
+
message: "Name your sandbox"
|
|
1063
|
+
developmentSandboxMessage: "Name your development sandbox"
|
|
1064
|
+
errors:
|
|
1065
|
+
invalidName: "You entered an invalid name. Please try again."
|
|
1066
|
+
nameRequired: "The name may not be blank. Please try again."
|
|
1067
|
+
accountNameExists: "Account name \"{{ name }}\" already exists, please enter a different name."
|
|
1068
|
+
selectAccountName: "Select the sandbox account you want to delete"
|
|
1069
|
+
selectParentAccountName: "Select the account that the sandbox belongs to"
|
|
1070
|
+
type:
|
|
1071
|
+
message: "What type of sandbox would you like to create?"
|
|
1072
|
+
developer: "Development sandbox (Isolated environment for developers)"
|
|
1073
|
+
standard: "Standard sandbox (Testing environment for all Super Admins)"
|
|
1074
|
+
uploadPrompt:
|
|
1075
|
+
enterDest: "[--dest] Enter the destination path: "
|
|
1076
|
+
enterSrc: "[--src] Enter the source path: "
|
|
1077
|
+
errors:
|
|
1078
|
+
srcRequired: "You must specify a source directory."
|
|
1079
|
+
destRequired: "You must specify a destination directory."
|
|
1080
|
+
fieldsPrompt: "Multiple fields files located in \"{{ dir }}\". Please choose which to upload: "
|
|
1081
|
+
projectNamePrompt:
|
|
1082
|
+
enterName: "[--project] Enter project name:"
|
|
1083
|
+
errors:
|
|
1084
|
+
invalidName: "You entered an invalid name. Please try again."
|
|
1085
|
+
projectDoesNotExist: "Project \"{{ projectName }}\" could not be found in \"{{ accountId }}\""
|
|
1086
|
+
feedbackPrompt:
|
|
1087
|
+
feedbackType:
|
|
1088
|
+
message: "What type of feedback would you like to leave?"
|
|
1089
|
+
bug: "[--bug] Report a bug"
|
|
1090
|
+
general: "[--general] Tell us about your experience with HubSpot's developer tools"
|
|
1091
|
+
bugPrompt: "Create an issue on Github in your browser?"
|
|
1092
|
+
generalPrompt: "Open the projects feedback form in your browser?"
|
|
1093
|
+
buildIdPrompt:
|
|
1094
|
+
enterBuildId: "[--build] Deploy which build?"
|
|
1095
|
+
errors:
|
|
1096
|
+
buildIdDoesNotExist: "Build {{ buildId }} does not exist for project {{ projectName }}."
|
|
1097
|
+
buildAlreadyDeployed: "Build {{ buildId }} is already deployed."
|
|
1098
|
+
convertFields:
|
|
1099
|
+
positionals:
|
|
1100
|
+
src:
|
|
1101
|
+
describe: Path to JS Fields file or directory containing javascript fields files.
|
|
1102
|
+
options:
|
|
1103
|
+
options:
|
|
1104
|
+
describe: "Options to pass to javascript fields files"
|
|
1105
|
+
sandbox:
|
|
1106
|
+
create:
|
|
1107
|
+
loading:
|
|
1108
|
+
developer:
|
|
1109
|
+
add: "Creating development sandbox {{#bold}}{{ sandboxName }}{{/bold}}"
|
|
1110
|
+
fail: "Failed to create a development sandbox {{#bold}}{{ sandboxName }}{{/bold}}."
|
|
1111
|
+
succeed: "Successfully created a development sandbox {{#bold}}{{ name }}{{/bold}} with portalId {{#bold}}{{ sandboxHubId }}{{/bold}}."
|
|
1112
|
+
standard:
|
|
1113
|
+
add: "Creating standard sandbox {{#bold}}{{ sandboxName }}{{/bold}}"
|
|
1114
|
+
fail: "Failed to create a standard sandbox {{#bold}}{{ sandboxName }}{{/bold}}."
|
|
1115
|
+
succeed: "Successfully created a standard sandbox {{#bold}}{{ name }}{{/bold}} with portalId {{#bold}}{{ sandboxHubId }}{{/bold}}."
|
|
1116
|
+
success:
|
|
1117
|
+
configFileUpdated: "{{ configFilename }} updated with {{ authMethod }} for account {{ account }}."
|
|
1118
|
+
failure:
|
|
1119
|
+
limit:
|
|
1120
|
+
developer:
|
|
1121
|
+
one: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} development sandbox.
|
|
1122
|
+
\n- View sandbox details at {{ link }}
|
|
1123
|
+
\n- To connect a sandbox to your HubSpot CLI, run {{#bold}}hs auth{{/bold}} and follow the prompts."
|
|
1124
|
+
other: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} development sandboxes.
|
|
1125
|
+
\n- View sandbox details at {{ link }}
|
|
1126
|
+
\n- To connect a sandbox to your HubSpot CLI, run {{#bold}}hs auth{{/bold}} and follow the prompts."
|
|
1127
|
+
standard:
|
|
1128
|
+
one: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} standard sandbox.
|
|
1129
|
+
\n- View sandbox details at {{ link }}
|
|
1130
|
+
\n- To connect a sandbox to your HubSpot CLI, run {{#bold}}hs auth{{/bold}} and follow the prompts."
|
|
1131
|
+
other: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} standard sandboxes.
|
|
1132
|
+
\n- View sandbox details at {{ link }}
|
|
1133
|
+
\n- To connect a sandbox to your HubSpot CLI, run {{#bold}}hs auth{{/bold}} and follow the prompts."
|
|
1134
|
+
alreadyInConfig:
|
|
1135
|
+
developer:
|
|
1136
|
+
one: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} development sandbox per account.
|
|
1137
|
+
\n- To use an existing development sandbox, run {{#bold}}hs accounts use{{/bold}}.
|
|
1138
|
+
\n- To delete an existing sandbox, run {{#bold}}hs sandbox delete{{/bold}}."
|
|
1139
|
+
other: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} development sandboxes per account.
|
|
1140
|
+
\n- To use an existing development sandbox, run {{#bold}}hs accounts use{{/bold}}.
|
|
1141
|
+
\n- To delete an existing sandbox, run {{#bold}}hs sandbox delete{{/bold}}."
|
|
1142
|
+
standard:
|
|
1143
|
+
one: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} standard sandbox per account.
|
|
1144
|
+
\n- To use an existing standard sandbox, run {{#bold}}hs accounts use{{/bold}}.
|
|
1145
|
+
\n- To delete an existing sandbox, run {{#bold}}hs sandbox delete{{/bold}}."
|
|
1146
|
+
other: "{{#bold}}{{ accountName }}{{/bold}} reached the limit of {{ limit }} standard sandboxes per account.
|
|
1147
|
+
\n- To use an existing standard sandbox, run {{#bold}}hs accounts use{{/bold}}.
|
|
1148
|
+
\n- To delete an existing sandbox, run {{#bold}}hs sandbox delete{{/bold}}."
|
|
1149
|
+
scopes:
|
|
1150
|
+
message: "The personal access key you provided doesn't include sandbox permissions."
|
|
1151
|
+
instructions: "To update CLI permissions for \"{{ accountName }}\":
|
|
1152
|
+
\n- Go to {{ url }}, deactivate the existing personal access key, and create a new one that includes Sandboxes permissions.
|
|
1153
|
+
\n- Update the CLI config for this account by running {{#bold}}hs auth{{/bold}} and entering the new key.\n"
|
|
1154
|
+
sync:
|
|
1155
|
+
info:
|
|
1156
|
+
syncStatus: "View the sync status details at: {{#bold}}{{ url }}{{/bold}}"
|
|
1157
|
+
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"
|
|
1158
|
+
confirm:
|
|
1159
|
+
createFlow:
|
|
1160
|
+
standard: "Sync all supported assets to {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}} from {{#bold}}{{ parentAccountName }}{{/bold}}?"
|
|
1161
|
+
developer: "Sync CRM object definitions to {{#cyan}}{{#bold}}{{ sandboxName }}{{/bold}}{{/cyan}} from {{#bold}}{{ parentAccountName }}{{/bold}}?"
|
|
1162
|
+
syncContactRecords:
|
|
1163
|
+
standard: "Include up to 5000 most recent contact records and associations in this sync? Syncing contact records may take some time"
|
|
1164
|
+
developer: "Include up to 100 most recent contact records and associations in this sync? Syncing contact records may take some time"
|
|
1165
|
+
loading:
|
|
1166
|
+
startSync: "Initiating sync..."
|
|
1167
|
+
fail: "Failed to sync sandbox."
|
|
1168
|
+
succeed: "Sandbox sync initiated to {{ accountName }}."
|
|
1169
|
+
skipPolling: "Syncing CRM object definitions."
|
|
1170
|
+
skipPollingWithContacts: "Syncing CRM object definitions and up to 100 most recent contacts and associated records."
|
|
1171
|
+
polling:
|
|
1172
|
+
syncing: "Syncing sandbox..."
|
|
1173
|
+
fail: "Failed to fetch sync updates. View the sync status at: {{ url }}"
|
|
1174
|
+
succeed: "Sandbox sync complete."
|
|
1175
|
+
failure:
|
|
1176
|
+
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."
|
|
1177
|
+
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 }}."
|
|
1178
|
+
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."
|
|
1179
|
+
objectNotFound: "Couldn't sync the sandbox because {{#bold}}{{ account }}{{/bold}} may have been be deleted through the UI. Run {{#bold}}hs sandbox delete{{/bold}} to remove this account from the config. "
|
|
1180
|
+
types:
|
|
1181
|
+
parcels:
|
|
1182
|
+
label: "Account tools and features"
|
|
1183
|
+
super-admins:
|
|
1184
|
+
label: "Super Admins"
|
|
1185
|
+
object-schemas:
|
|
1186
|
+
label: "Object definitions"
|
|
1187
|
+
object-records:
|
|
1188
|
+
label: "Contacts and associated records"
|
|
1189
|
+
cms-developer-assets:
|
|
1190
|
+
label: "Themes, templates, and modules"
|
|
1191
|
+
object-pipelines:
|
|
1192
|
+
label: "Pipelines"
|
|
1193
|
+
object-lists:
|
|
1194
|
+
label: "Lists"
|
|
1195
|
+
workflows:
|
|
1196
|
+
label: "Workflows"
|
|
1197
|
+
forms:
|
|
1198
|
+
label: "Forms"
|
|
1199
|
+
lead-flows:
|
|
1200
|
+
label: "Lead Flows"
|
|
1201
|
+
marketing-email:
|
|
1202
|
+
label: "Marketing emails"
|
|
1203
|
+
|
|
1204
|
+
|
|
1205
|
+
|