@hubspot/cli 7.7.27-experimental.2 → 7.7.28-experimental.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -4
- package/api/__tests__/migrate.test.js +5 -5
- package/api/migrate.d.ts +10 -4
- package/api/migrate.js +2 -2
- package/commands/__tests__/create.test.js +20 -0
- package/commands/__tests__/testAccount.test.js +2 -0
- package/commands/app/__tests__/migrate.test.js +1 -0
- package/commands/create/function.js +2 -2
- package/commands/create/module.js +2 -2
- package/commands/create/template.js +2 -2
- package/commands/create.js +47 -0
- package/commands/getStarted.js +66 -4
- package/commands/mcp/setup.d.ts +0 -1
- package/commands/mcp/setup.js +3 -11
- package/commands/project/__tests__/create.test.js +57 -0
- package/commands/project/__tests__/devUnifiedFlow.test.js +18 -30
- package/commands/project/create.js +6 -1
- package/commands/project/deploy.js +31 -1
- package/commands/project/dev/deprecatedFlow.js +2 -1
- package/commands/project/dev/index.js +32 -12
- package/commands/project/dev/unifiedFlow.d.ts +1 -1
- package/commands/project/dev/unifiedFlow.js +10 -16
- package/commands/project/profile/delete.js +26 -14
- package/commands/project/upload.d.ts +2 -2
- package/commands/project/upload.js +1 -1
- package/commands/testAccount/__tests__/importData.test.d.ts +1 -0
- package/commands/testAccount/__tests__/importData.test.js +93 -0
- package/commands/testAccount/create.js +23 -13
- package/commands/testAccount/importData.d.ts +9 -0
- package/commands/testAccount/importData.js +61 -0
- package/commands/testAccount.js +2 -0
- package/lang/en.d.ts +160 -46
- package/lang/en.js +175 -59
- package/lang/en.lyaml +35 -14
- package/lib/__tests__/importData.test.d.ts +1 -0
- package/lib/__tests__/importData.test.js +89 -0
- package/lib/accountTypes.js +2 -3
- package/lib/app/__tests__/migrate.test.js +81 -36
- package/lib/app/migrate.d.ts +17 -4
- package/lib/app/migrate.js +97 -19
- package/lib/constants.d.ts +1 -0
- package/lib/constants.js +1 -0
- package/lib/hasFeature.d.ts +1 -0
- package/lib/hasFeature.js +7 -0
- package/lib/importData.d.ts +3 -0
- package/lib/importData.js +50 -0
- package/lib/mcp/setup.d.ts +0 -2
- package/lib/mcp/setup.js +0 -24
- package/lib/process.js +15 -4
- package/lib/projectProfiles.d.ts +1 -1
- package/lib/projectProfiles.js +10 -2
- package/lib/projects/__tests__/AppDevModeInterface.test.js +3 -3
- package/lib/projects/__tests__/LocalDevProcess.test.js +5 -95
- package/lib/projects/__tests__/LocalDevWebsocketServer.test.js +6 -6
- package/lib/projects/__tests__/components.test.js +164 -7
- package/lib/projects/__tests__/localDevProjectHelpers.test.d.ts +1 -0
- package/lib/projects/__tests__/localDevProjectHelpers.test.js +118 -0
- package/lib/projects/add/v3AddComponent.js +16 -4
- package/lib/projects/components.d.ts +1 -0
- package/lib/projects/components.js +27 -1
- package/lib/projects/localDev/AppDevModeInterface.js +35 -3
- package/lib/projects/localDev/LocalDevLogger.d.ts +0 -4
- package/lib/projects/localDev/LocalDevLogger.js +2 -19
- package/lib/projects/localDev/LocalDevManager.js +1 -1
- package/lib/projects/localDev/LocalDevProcess.d.ts +1 -2
- package/lib/projects/localDev/LocalDevProcess.js +3 -26
- package/lib/projects/localDev/LocalDevState.d.ts +6 -7
- package/lib/projects/localDev/LocalDevState.js +16 -15
- package/lib/projects/localDev/LocalDevWebsocketServer.d.ts +1 -0
- package/lib/projects/localDev/LocalDevWebsocketServer.js +17 -2
- package/lib/projects/localDev/{helpers.d.ts → helpers/account.d.ts} +1 -7
- package/lib/projects/localDev/{helpers.js → helpers/account.js} +44 -144
- package/lib/projects/localDev/helpers/project.d.ts +12 -0
- package/lib/projects/localDev/helpers/project.js +173 -0
- package/lib/projects/urls.d.ts +1 -0
- package/lib/projects/urls.js +4 -0
- package/lib/prompts/__tests__/createFunctionPrompt.test.d.ts +1 -0
- package/lib/prompts/__tests__/createFunctionPrompt.test.js +129 -0
- package/lib/prompts/__tests__/createModulePrompt.test.d.ts +1 -0
- package/lib/prompts/__tests__/createModulePrompt.test.js +187 -0
- package/lib/prompts/__tests__/createTemplatePrompt.test.d.ts +1 -0
- package/lib/prompts/__tests__/createTemplatePrompt.test.js +102 -0
- package/lib/prompts/confirmImportDataPrompt.d.ts +1 -0
- package/lib/prompts/confirmImportDataPrompt.js +12 -0
- package/lib/prompts/createFunctionPrompt.d.ts +2 -1
- package/lib/prompts/createFunctionPrompt.js +36 -7
- package/lib/prompts/createModulePrompt.d.ts +2 -1
- package/lib/prompts/createModulePrompt.js +48 -1
- package/lib/prompts/createTemplatePrompt.d.ts +3 -24
- package/lib/prompts/createTemplatePrompt.js +9 -1
- package/lib/prompts/importDataFilePathPrompt.d.ts +1 -0
- package/lib/prompts/importDataFilePathPrompt.js +24 -0
- package/lib/prompts/importDataTestAccountSelectPrompt.d.ts +3 -0
- package/lib/prompts/importDataTestAccountSelectPrompt.js +29 -0
- package/lib/prompts/projectDevTargetAccountPrompt.js +1 -0
- package/lib/prompts/promptUtils.d.ts +7 -1
- package/lib/prompts/promptUtils.js +14 -1
- package/lib/ui/__tests__/removeAnsiCodes.test.d.ts +1 -0
- package/lib/ui/__tests__/removeAnsiCodes.test.js +84 -0
- package/lib/ui/index.js +3 -6
- package/lib/ui/removeAnsiCodes.d.ts +1 -0
- package/lib/ui/removeAnsiCodes.js +4 -0
- package/mcp-server/server.js +2 -1
- package/mcp-server/tools/cms/HsListTool.d.ts +23 -0
- package/mcp-server/tools/cms/HsListTool.js +58 -0
- package/mcp-server/tools/cms/__tests__/HsListTool.test.d.ts +1 -0
- package/mcp-server/tools/cms/__tests__/HsListTool.test.js +120 -0
- package/mcp-server/tools/index.d.ts +1 -0
- package/mcp-server/tools/index.js +8 -0
- package/mcp-server/tools/project/DocFetchTool.d.ts +17 -0
- package/mcp-server/tools/project/DocFetchTool.js +49 -0
- package/mcp-server/tools/project/DocsSearchTool.d.ts +26 -0
- package/mcp-server/tools/project/DocsSearchTool.js +62 -0
- package/mcp-server/tools/project/GetConfigValuesTool.js +3 -2
- package/mcp-server/tools/project/__tests__/DocFetchTool.test.d.ts +1 -0
- package/mcp-server/tools/project/__tests__/DocFetchTool.test.js +117 -0
- package/mcp-server/tools/project/__tests__/DocsSearchTool.test.d.ts +1 -0
- package/mcp-server/tools/project/__tests__/DocsSearchTool.test.js +190 -0
- package/mcp-server/tools/project/__tests__/GetConfigValuesTool.test.js +1 -1
- package/mcp-server/tools/project/constants.d.ts +2 -0
- package/mcp-server/tools/project/constants.js +6 -0
- package/mcp-server/utils/toolUsageTracking.d.ts +3 -1
- package/mcp-server/utils/toolUsageTracking.js +2 -1
- package/package.json +9 -6
- package/types/Cms.d.ts +16 -0
- package/types/Cms.js +25 -1
- package/types/LocalDev.d.ts +0 -3
- package/types/Prompts.d.ts +1 -0
- package/types/Yargs.d.ts +1 -1
- package/ui/index.d.ts +1 -0
- package/ui/index.js +6 -0
package/lang/en.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
+
import { mapToUserFriendlyName } from '@hubspot/project-parsing-lib';
|
|
2
3
|
import { PLATFORM_VERSIONS } from '@hubspot/local-dev-lib/constants/projects';
|
|
3
4
|
import { PERSONAL_ACCESS_KEY_AUTH_METHOD } from '@hubspot/local-dev-lib/constants/auth';
|
|
4
5
|
import { ARCHIVED_HUBSPOT_CONFIG_YAML_FILE_NAME, GLOBAL_CONFIG_PATH, DEFAULT_HUBSPOT_CONFIG_YAML_FILE_NAME, } from '@hubspot/local-dev-lib/constants/config';
|
|
5
6
|
import { uiAccountDescription, uiBetaTag, uiCommandReference, uiLink, UI_COLORS, } from '../lib/ui/index.js';
|
|
6
7
|
import { getProjectDetailUrl, getProjectSettingsUrl, getLocalDevUiUrl, } from '../lib/projects/urls.js';
|
|
7
8
|
import { PROJECT_CONFIG_FILE, PROJECT_WITH_APP } from '../lib/constants.js';
|
|
9
|
+
import { getAccountIdentifier } from '@hubspot/local-dev-lib/config/getAccountIdentifier';
|
|
8
10
|
export const commands = {
|
|
9
11
|
generalErrors: {
|
|
10
12
|
srcIsProject: (src, command) => `"${src}" is in a project folder. Did you mean "hs project ${command}"?`,
|
|
@@ -38,19 +40,19 @@ export const commands = {
|
|
|
38
40
|
openInstallUrl: 'Open HubSpot to install your app in your account?',
|
|
39
41
|
openedDeveloperOverview: 'HubSpot opened!',
|
|
40
42
|
prompts: {
|
|
41
|
-
selectOption: 'Are you looking to build apps or CMS?',
|
|
43
|
+
selectOption: 'Are you looking to build apps or CMS assets?',
|
|
42
44
|
options: {
|
|
43
45
|
app: 'App',
|
|
44
|
-
cms: 'CMS',
|
|
46
|
+
cms: 'CMS assets',
|
|
45
47
|
},
|
|
46
|
-
uploadProject:
|
|
48
|
+
uploadProject: (accountName) => `Would you like to upload this project to account "${accountName}" now?`,
|
|
47
49
|
projectCreated: {
|
|
48
50
|
title: chalk.bold('Next steps:'),
|
|
49
51
|
description: `Let's prepare and upload your project to HubSpot.\nYou can use ${uiCommandReference('hs project install-deps')} to ${chalk.bold('install dependencies')} and ${uiCommandReference('hs project upload')} to ${chalk.bold('upload')} your project.`,
|
|
50
52
|
},
|
|
51
53
|
},
|
|
52
54
|
logs: {
|
|
53
|
-
appSelected: `We'll create a new project with a sample app for you.\nProjects are what you can use to create apps
|
|
55
|
+
appSelected: `We'll create a new project with a sample app for you.\nProjects are what you can use to create apps with HubSpot.\nUsually you'll use the ${uiCommandReference('hs project create')} command, but we'll go ahead and make one now.`,
|
|
54
56
|
dependenciesInstalled: 'Dependencies installed successfully.',
|
|
55
57
|
uploadingProject: 'Uploading your project to HubSpot...',
|
|
56
58
|
uploadSuccess: 'Project uploaded successfully!',
|
|
@@ -336,6 +338,38 @@ export const commands = {
|
|
|
336
338
|
describe: 'Type of asset',
|
|
337
339
|
},
|
|
338
340
|
},
|
|
341
|
+
flags: {
|
|
342
|
+
templateType: {
|
|
343
|
+
describe: 'Template type for template creation - only used when type is template',
|
|
344
|
+
},
|
|
345
|
+
moduleLabel: {
|
|
346
|
+
describe: 'Label for module creation - only used when type is module',
|
|
347
|
+
},
|
|
348
|
+
reactType: {
|
|
349
|
+
describe: 'Whether to create a React module - only used when type is module',
|
|
350
|
+
},
|
|
351
|
+
contentTypes: {
|
|
352
|
+
describe: (contentTypes) => `Content types where the module can be used (comma-separated list: ${contentTypes.join(', ')}) - only used when type is module`,
|
|
353
|
+
},
|
|
354
|
+
global: {
|
|
355
|
+
describe: 'Whether to create a global module - only used when type is module',
|
|
356
|
+
},
|
|
357
|
+
availableForNewContent: {
|
|
358
|
+
describe: 'Whether the template is available for new content - only used when type is template',
|
|
359
|
+
},
|
|
360
|
+
functionsFolder: {
|
|
361
|
+
describe: 'Folder to create functions in - only used when type is function',
|
|
362
|
+
},
|
|
363
|
+
filename: {
|
|
364
|
+
describe: 'Filename for the function - only used when type is function',
|
|
365
|
+
},
|
|
366
|
+
endpointMethod: {
|
|
367
|
+
describe: 'HTTP method for the function endpoint - only used when type is function',
|
|
368
|
+
},
|
|
369
|
+
endpointPath: {
|
|
370
|
+
describe: 'API endpoint path for the function - only used when type is function',
|
|
371
|
+
},
|
|
372
|
+
},
|
|
339
373
|
subcommands: {
|
|
340
374
|
apiSample: {
|
|
341
375
|
folderOverwritePrompt: (folderName) => `The folder with name "${folderName}" already exists. Overwrite?`,
|
|
@@ -964,6 +998,7 @@ export const commands = {
|
|
|
964
998
|
noProfileFound: (profileName) => `No profile with filename ${chalk.bold(profileName)} found in your project.`,
|
|
965
999
|
noProfilesFound: 'No profiles found in your project.',
|
|
966
1000
|
failedToDeleteProfile: (profileName) => `Unable to delete profile ${chalk.bold(profileName)}. Please try again.`,
|
|
1001
|
+
failedToDeleteProject: (accountId) => `Failed to delete the project from ${uiAccountDescription(accountId)}`,
|
|
967
1002
|
},
|
|
968
1003
|
positionals: {
|
|
969
1004
|
name: 'The name of the project profile',
|
|
@@ -975,9 +1010,15 @@ export const commands = {
|
|
|
975
1010
|
logs: {
|
|
976
1011
|
betaMessage: 'HubSpot projects local development',
|
|
977
1012
|
placeholderAccountSelection: 'Using default account as target account (for now)',
|
|
978
|
-
learnMoreLocalDevServer: 'Learn more about the projects local dev server',
|
|
979
1013
|
accountTypeInformation: 'Testing in a developer test account is strongly recommended, but you can use a sandbox account if your plan allows you to create one.',
|
|
980
|
-
|
|
1014
|
+
learnMoreMessageV3: `Learn more about ${uiLink('HubSpot projects local dev', 'https://hubspot.mintlify.io/en-us/developer-tooling/local-development/hubspot-cli/project-commands#start-a-local-development-server')} | ${uiLink('HubSpot account types', 'https://developers.hubspot.com/docs/getting-started/account-types')}`,
|
|
1015
|
+
learnMoreMessageLegacy: uiLink('Learn more about the projects local dev server', 'https://developers.hubspot.com/docs/platform/project-cli-commands#start-a-local-development-server'),
|
|
1016
|
+
profileProjectAccountExplanation: (accountId, profileName) => `Using account ${uiAccountDescription(accountId)} from profile ${chalk.bold(profileName)} for project upload`,
|
|
1017
|
+
defaultProjectAccountExplanation: (accountId) => `Using default account ${uiAccountDescription(accountId)} for project upload`,
|
|
1018
|
+
projectAccountFlagExplanation: (accountId) => `Using account ${uiAccountDescription(accountId)} provided by the --project-account flag for project upload`,
|
|
1019
|
+
accountFlagExplanation: (accountId) => `Using account ${uiAccountDescription(accountId)} provided by the --account flag for project upload`,
|
|
1020
|
+
defaultSandboxOrDevTestTestingAccountExplanation: (accountId) => `Using default account ${uiAccountDescription(accountId)} for testing`,
|
|
1021
|
+
testingAccountFlagExplanation: (accountId) => `Using account ${uiAccountDescription(accountId)} provided by the --testing-account flag for testing`,
|
|
981
1022
|
},
|
|
982
1023
|
errors: {
|
|
983
1024
|
noProjectConfig: 'No project detected. Please run this command again from a project directory.',
|
|
@@ -986,8 +1027,8 @@ export const commands = {
|
|
|
986
1027
|
invalidProjectComponents: 'Projects cannot contain both private and public apps. Move your apps to separate projects before attempting local development.',
|
|
987
1028
|
noRunnableComponents: `No supported components were found in this project. Run ${uiCommandReference('hs project add')} to see a list of available components and add one to your project.`,
|
|
988
1029
|
accountNotCombined: `\nLocal development of unified apps is currently only compatible with accounts that are opted into the unified apps beta. Make sure that this account is opted in or switch accounts using ${uiCommandReference('hs account use')}.`,
|
|
989
|
-
unsupportedAccountFlagLegacy: 'The --
|
|
990
|
-
unsupportedAccountFlagV3: 'The --account flag is is not supported supported for projects with platform versions 2025.2 and newer. Use --
|
|
1030
|
+
unsupportedAccountFlagLegacy: 'The --project-account and --testing-account flags are not supported for projects with platform versions earlier than 2025.2.',
|
|
1031
|
+
unsupportedAccountFlagV3: 'The --account flag is is not supported supported for projects with platform versions 2025.2 and newer. Use --testing-account and --project-account flags to specify accounts to use for local dev',
|
|
991
1032
|
},
|
|
992
1033
|
examples: {
|
|
993
1034
|
default: 'Start local dev for the current project',
|
|
@@ -1007,7 +1048,7 @@ export const commands = {
|
|
|
1007
1048
|
cannotNestProjects: (projectDir) => `A project already exists at ${projectDir}. Projects cannot be nested within other projects. Please choose a different destination and try again.`,
|
|
1008
1049
|
},
|
|
1009
1050
|
logs: {
|
|
1010
|
-
success: (projectName, projectDest) =>
|
|
1051
|
+
success: (projectName, projectDest) => `Project ${chalk.bold(projectName)} was successfully created in ${projectDest}`,
|
|
1011
1052
|
welcomeMessage: `\n${chalk.bold('Welcome to HubSpot Developer Projects!')}`,
|
|
1012
1053
|
},
|
|
1013
1054
|
prompts: {
|
|
@@ -1172,6 +1213,10 @@ export const commands = {
|
|
|
1172
1213
|
buildIdDoesNotExist: (accountId, buildId, projectName) => `Build ${buildId} does not exist for project ${chalk.bold(projectName)}. ${uiLink('View project builds in HubSpot', getProjectDetailUrl(projectName, accountId))}`,
|
|
1173
1214
|
buildAlreadyDeployed: (accountId, buildId, projectName) => `Build ${buildId} is already deployed. ${uiLink('View project builds in HubSpot', getProjectDetailUrl(projectName, accountId))}`,
|
|
1174
1215
|
deployContainsRemovals: (componentName) => `- This deploy would remove the ${chalk.bold(componentName)} component. To proceed, run the deploy command with the ${uiCommandReference('--force')} flag`,
|
|
1216
|
+
deployBlockedHeader: "This build couldn't be deployed because it will be too disruptive for existing users. Fix the following issues and try again:",
|
|
1217
|
+
deployWarningsHeader: `Deploying this build might have unintended consequences for users. Review the following issues and run ${uiCommandReference('hs project deploy --force')} to try again:`,
|
|
1218
|
+
deployIssueComponentGeneric: (uid, componentTypeName) => `- [${mapToUserFriendlyName(componentTypeName)}] ${chalk.bold('(' + uid + ')')} reported issues with the deploy`,
|
|
1219
|
+
deployIssueComponentWarning: (uid, componentTypeName, message) => `- [${mapToUserFriendlyName(componentTypeName)}] ${chalk.bold('(' + uid + ')')} ${message}`,
|
|
1175
1220
|
},
|
|
1176
1221
|
examples: {
|
|
1177
1222
|
default: 'Deploy the latest build of the current project',
|
|
@@ -1797,6 +1842,19 @@ export const commands = {
|
|
|
1797
1842
|
},
|
|
1798
1843
|
testAccount: {
|
|
1799
1844
|
describe: 'Commands for working with test accounts.',
|
|
1845
|
+
subcommands: {
|
|
1846
|
+
importData: {
|
|
1847
|
+
describe: 'Import data into the CRM',
|
|
1848
|
+
options: {
|
|
1849
|
+
skipConfirm: {
|
|
1850
|
+
describe: 'Skip the confirmation prompt',
|
|
1851
|
+
},
|
|
1852
|
+
filePath: {
|
|
1853
|
+
describe: 'The path to the JSON file containing the import schema',
|
|
1854
|
+
},
|
|
1855
|
+
},
|
|
1856
|
+
},
|
|
1857
|
+
},
|
|
1800
1858
|
create: {
|
|
1801
1859
|
describe: 'Create a test account from a config file',
|
|
1802
1860
|
configPathPrompt: '[--config-path] Enter the path to the test account config: ',
|
|
@@ -1806,6 +1864,7 @@ export const commands = {
|
|
|
1806
1864
|
errors: {
|
|
1807
1865
|
configFileNotFound: (configPath) => `No test account config file exists at ${configPath}. Create a test account config file with the ${uiCommandReference('hs test-account create-config')} command.`,
|
|
1808
1866
|
configFileParseFailed: (configPath) => `Failed to parse test account config file at ${configPath}`,
|
|
1867
|
+
saveAccountToConfigFailure: (accountName) => `Failed to save test account config file to config at ${accountName}`,
|
|
1809
1868
|
},
|
|
1810
1869
|
polling: {
|
|
1811
1870
|
start: (testAccountName) => `Creating test account "${chalk.bold(testAccountName)}"...`,
|
|
@@ -2473,14 +2532,14 @@ export const lib = {
|
|
|
2473
2532
|
uiExtensionLabel: '[UI Extension]',
|
|
2474
2533
|
missingComponents: (missingComponents) => `Couldn't find the following components in the deployed build for this project: ${chalk.bold(missingComponents)}. This may cause issues in local development.`,
|
|
2475
2534
|
defaultWarning: chalk.bold('Changing project configuration requires a new project build.'),
|
|
2476
|
-
defaultPublicAppWarning: (installCount, installText) => `${chalk.bold('Changing project configuration requires a new project build.')}\n\nThis will affect your public app's ${chalk.bold(`${installCount} existing ${installText}`)}. If your app has users in production, we strongly recommend creating a copy of this app to test your changes before
|
|
2535
|
+
defaultPublicAppWarning: (installCount, installText) => `${chalk.bold('Changing project configuration requires a new project build.')}\n\nThis will affect your public app's ${chalk.bold(`${installCount} existing ${installText}`)}. If your app has users in production, we strongly recommend creating a copy of this app to test your changes before proceeding.`,
|
|
2477
2536
|
header: (warning) => `${warning} To reflect these changes and continue testing:`,
|
|
2478
2537
|
instructionsHeader: 'To reflect these changes and continue testing:',
|
|
2479
2538
|
stopDev: ` * Stop ${uiCommandReference('hs project dev')}`,
|
|
2480
2539
|
runUpload: (command) => ` * Run ${command}`,
|
|
2481
2540
|
restartDev: ` * Re-run ${uiCommandReference('hs project dev')}`,
|
|
2482
2541
|
pushToGithub: ' * Commit and push your changes to GitHub',
|
|
2483
|
-
defaultMarketplaceAppWarning: (installCount, accountText) => `${chalk.bold('Changing project configuration requires creating a new project build.')}\n\nYour marketplace app is currently installed in ${chalk.bold(`${installCount} ${accountText}`)}. Any uploaded changes will impact your app's users. We strongly recommend creating a copy of this app to test your changes before
|
|
2542
|
+
defaultMarketplaceAppWarning: (installCount, accountText) => `${chalk.bold('Changing project configuration requires creating a new project build.')}\n\nYour marketplace app is currently installed in ${chalk.bold(`${installCount} ${accountText}`)}. Any uploaded changes will impact your app's users. We strongly recommend creating a copy of this app to test your changes before proceeding.`,
|
|
2484
2543
|
},
|
|
2485
2544
|
activeInstallWarning: {
|
|
2486
2545
|
installCount: (appName, installCount) => `${chalk.bold(`The app ${appName} is installed in ${installCount} production ${installCount === 1 ? 'account' : 'accounts'}`)}`,
|
|
@@ -2496,10 +2555,17 @@ export const lib = {
|
|
|
2496
2555
|
},
|
|
2497
2556
|
},
|
|
2498
2557
|
AppDevModeInterface: {
|
|
2499
|
-
defaultMarketplaceAppWarning: (installCount) =>
|
|
2558
|
+
defaultMarketplaceAppWarning: (installCount) => `Your marketplace app is currently installed in ${chalk.bold(`${installCount} ${installCount === 1 ? 'account' : 'accounts'}`)}. Any uploaded changes will impact your app's users. We strongly recommend creating a copy of this app to test your changes before proceeding.`,
|
|
2500
2559
|
autoInstallDeclined: 'You must install your app on your target test account to proceed with local development.',
|
|
2501
2560
|
autoInstallSuccess: (appName, targetTestAccountId) => `Successfully installed app ${appName} on account ${uiAccountDescription(targetTestAccountId)}\n`,
|
|
2502
2561
|
autoInstallError: (appName, targetTestAccountId) => `Error installing app ${appName} on account ${uiAccountDescription(targetTestAccountId)}. You may still be able to install your app in your browser.`,
|
|
2562
|
+
fetchAppData: {
|
|
2563
|
+
checking: (appName) => `Checking installations for your app ${chalk.bold(appName)}...`,
|
|
2564
|
+
success: (appName, accountId) => `Your app ${chalk.bold(appName)} is installed on account ${uiAccountDescription(accountId, false)}`,
|
|
2565
|
+
notInstalled: (appName, accountId) => `Your app ${chalk.bold(appName)} is not currently installed on account ${uiAccountDescription(accountId, false)}`,
|
|
2566
|
+
activeInstallations: (appName, installCount) => `[WARNING] Your app ${chalk.bold(appName)} is installed in ${chalk.bold(`${installCount} ${installCount === 1 ? 'account' : 'accounts'}`)}`,
|
|
2567
|
+
error: 'An error occurred while checking installations for your app',
|
|
2568
|
+
},
|
|
2503
2569
|
},
|
|
2504
2570
|
LocalDevWebsocketServer: {
|
|
2505
2571
|
errors: {
|
|
@@ -2521,43 +2587,54 @@ export const lib = {
|
|
|
2521
2587
|
uploadSuccess: 'Project upload completed successfully. Resuming local dev...',
|
|
2522
2588
|
},
|
|
2523
2589
|
localDevHelpers: {
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
},
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2590
|
+
project: {
|
|
2591
|
+
compareLocalProjectToDeployed: {
|
|
2592
|
+
noDeployedBuild: (projectName, accountIdentifier) => `Your project ${chalk.bold(projectName)} exists in ${accountIdentifier}, but has no deployed build. Projects must be successfully deployed to be developed locally. Address any build and deploy errors your project may have, then run ${uiCommandReference('hs project upload')} to upload and deploy your project.`,
|
|
2593
|
+
checking: 'Checking if your deployed build is up to date...',
|
|
2594
|
+
upToDate: 'Deployed build is up to date.',
|
|
2595
|
+
notUpToDate: `Your project contains undeployed local changes.`,
|
|
2596
|
+
notUpToDateExplanation: `Run ${uiCommandReference('hs project upload')} to upload these changes to HubSpot, then re-run ${uiCommandReference('hs project dev')} to continue local development.`,
|
|
2597
|
+
},
|
|
2598
|
+
createNewProjectForLocalDev: {
|
|
2599
|
+
projectMustExistExplanation: (projectName, accountId) => `The project ${projectName} does not exist in the target account ${uiAccountDescription(accountId)}. This command requires the project to exist in the target account.`,
|
|
2600
|
+
publicAppProjectMustExistExplanation: (projectName, accountId) => `The project ${projectName} does not exist in ${uiAccountDescription(accountId)}, the app developer account associated with your target account. This command requires the project to exist in this app developer account.`,
|
|
2601
|
+
createProject: (projectName, accountIdentifier) => `Create new project ${projectName} in ${accountIdentifier}?`,
|
|
2602
|
+
choseNotToCreateProject: 'Exiting because this command requires the project to exist in the target account.',
|
|
2603
|
+
creatingProject: (projectName, accountIdentifier) => `Creating project ${projectName} in ${accountIdentifier}`,
|
|
2604
|
+
createdProject: (projectName, accountIdentifier) => `Created project ${projectName} in ${accountIdentifier}`,
|
|
2605
|
+
failedToCreateProject: 'Failed to create project in the target account.',
|
|
2606
|
+
},
|
|
2607
|
+
createInitialBuildForNewProject: {
|
|
2608
|
+
initialUploadMessage: 'HubSpot Local Dev Server Startup',
|
|
2609
|
+
projectLockedError: 'Your project is locked. This may mean that another user is running the `hs project watch` command for this project. If this is you, unlock the project in Projects UI.',
|
|
2610
|
+
genericError: `An error occurred while creating the initial build for this project. Run ${uiCommandReference('hs project upload')} to try again.`,
|
|
2611
|
+
},
|
|
2612
|
+
},
|
|
2613
|
+
account: {
|
|
2614
|
+
checkIfDefaultAccountIsSupported: {
|
|
2615
|
+
publicApp: `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 ${uiCommandReference('hs accounts use')}, or link a new account with ${uiCommandReference('hs auth')}.`,
|
|
2616
|
+
privateApp: `This project contains a private app. Local development of private apps is not supported in developer accounts. Change your default account using ${uiCommandReference('hs accounts use')}, or link a new account with ${uiCommandReference('hs auth')}.`,
|
|
2617
|
+
},
|
|
2618
|
+
validateAccountOption: {
|
|
2619
|
+
invalidPublicAppAccount: `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 ${uiCommandReference('hs accounts use')} and run ${uiCommandReference('hs project dev')} to set up a new Developer Test Account.`,
|
|
2620
|
+
invalidPrivateAppAccount: `This project contains a private app. The account specified with the "--account" flag points to a developer account, which do not support the local development of private apps. Update the "--account" flag to point to a standard, sandbox, or developer test account, or change your default account by running ${uiCommandReference('hs accounts use')}.`,
|
|
2621
|
+
nonSandboxWarning: `Testing in a sandbox is strongly recommended. To switch the target account, select an option below or run ${uiCommandReference('hs accounts use')} before running the command again.`,
|
|
2622
|
+
publicAppNonDeveloperTestAccountWarning: `Local development of public apps is only supported in ${chalk.bold('developer test accounts')}.`,
|
|
2623
|
+
},
|
|
2624
|
+
checkIfParentAccountIsAuthed: {
|
|
2625
|
+
notAuthedError: (parentAccountId, accountIdentifier) => `To develop this project locally, run ${uiCommandReference(`hs auth --account=${parentAccountId}`)} to authenticate the App Developer Account ${parentAccountId} associated with ${accountIdentifier}.`,
|
|
2626
|
+
},
|
|
2627
|
+
selectAccountTypePrompt: {
|
|
2628
|
+
message: '[--testing-account] Choose the type of account to test on',
|
|
2629
|
+
developerTestAccountOption: 'Test on a developer test account (recommended)',
|
|
2630
|
+
sandboxAccountOption: 'Test on a sandbox account',
|
|
2631
|
+
sandboxAccountOptionDisabled: 'Disabled - requires access to sandbox accounts',
|
|
2632
|
+
productionAccountOption: (accountId) => `<${chalk.red('!')} Test on your project account: ${uiAccountDescription(accountId, false)} ${chalk.red('!')}>`,
|
|
2633
|
+
},
|
|
2634
|
+
confirmDefaultAccountIsTarget: {
|
|
2635
|
+
configError: `An error occurred while reading the default account from your config. Run ${uiCommandReference('hs auth')} to re-auth this account`,
|
|
2636
|
+
declineDefaultAccountExplanation: `To develop on a different account, run ${uiCommandReference('hs accounts use')} to change your default account, then re-run ${uiCommandReference('hs project dev')}.`,
|
|
2637
|
+
},
|
|
2561
2638
|
},
|
|
2562
2639
|
},
|
|
2563
2640
|
middleware: {
|
|
@@ -2615,6 +2692,11 @@ export const lib = {
|
|
|
2615
2692
|
add: {
|
|
2616
2693
|
nothingAdded: 'No features added.',
|
|
2617
2694
|
},
|
|
2695
|
+
updateHsMetaFilesWithAutoGeneratedFields: {
|
|
2696
|
+
header: 'Created the following components and features:',
|
|
2697
|
+
applicationLog: (componentType, uid, name) => ` - Created ${chalk.bold(componentType)} with uid ${chalk.bold(uid)} and name ${chalk.bold(name)}`,
|
|
2698
|
+
componentLog: (componentType, uid) => ` - Created ${chalk.bold(componentType)} feature with uid ${chalk.bold(uid)}`,
|
|
2699
|
+
},
|
|
2618
2700
|
validateProjectConfig: {
|
|
2619
2701
|
configNotFound: `Unable to locate a project configuration file. Try running again from a project directory, or run ${uiCommandReference('hs project create')} to create a new project.`,
|
|
2620
2702
|
configMissingFields: 'The project configuration file is missing required fields.',
|
|
@@ -2673,6 +2755,16 @@ export const lib = {
|
|
|
2673
2755
|
boxen: {
|
|
2674
2756
|
failedToLoad: 'Failed to load boxen util.',
|
|
2675
2757
|
},
|
|
2758
|
+
importData: {
|
|
2759
|
+
errors: {
|
|
2760
|
+
incorrectAccountType: (derivedAccountId) => `The account ${uiAccountDescription(derivedAccountId)} is not a standard account, developer test account, or app developer account.`,
|
|
2761
|
+
failedToImportData: 'Failed to import data into portal.',
|
|
2762
|
+
notDeveloperTestAccount: 'The account is not a developer test account.',
|
|
2763
|
+
noAccountConfig: (accountId) => `No account config found for ${uiAccountDescription(accountId)}`,
|
|
2764
|
+
},
|
|
2765
|
+
inProgress: (portalId, fileNames) => `Importing data into ${uiAccountDescription(portalId)} from [${fileNames.join(', ')}]`,
|
|
2766
|
+
viewImportLink: (baseUrl, accountId, importId) => `Data import currently processing. You can view the status of your import ${uiLink('here', `${baseUrl}/import/${accountId}/post/${importId}`)}`,
|
|
2767
|
+
},
|
|
2676
2768
|
ui: {
|
|
2677
2769
|
betaTag: chalk.bold('[BETA]'),
|
|
2678
2770
|
betaWarning: {
|
|
@@ -2696,27 +2788,27 @@ export const lib = {
|
|
|
2696
2788
|
},
|
|
2697
2789
|
accountsListCommand: {
|
|
2698
2790
|
command: 'hs accounts list',
|
|
2699
|
-
message: (command) =>
|
|
2791
|
+
message: (command) => `${command} - See a list of configured HubSpot accounts`,
|
|
2700
2792
|
},
|
|
2701
2793
|
accountsUseCommand: {
|
|
2702
2794
|
command: 'hs accounts use',
|
|
2703
|
-
message: (command) =>
|
|
2795
|
+
message: (command) => `${command} - Set the Hubspot account that the CLI will target by default`,
|
|
2704
2796
|
},
|
|
2705
2797
|
authCommand: {
|
|
2706
2798
|
command: 'hs auth',
|
|
2707
|
-
message: (command) =>
|
|
2799
|
+
message: (command) => `${command} - Connect the CLI to additional HubSpot accounts`,
|
|
2708
2800
|
},
|
|
2709
2801
|
feedbackCommand: {
|
|
2710
2802
|
command: 'hs feedback',
|
|
2711
|
-
message: (command) =>
|
|
2803
|
+
message: (command) => `${command} - Report a bug or leave feedback`,
|
|
2712
2804
|
},
|
|
2713
2805
|
helpCommand: {
|
|
2714
2806
|
command: 'hs help',
|
|
2715
|
-
message: (command) =>
|
|
2807
|
+
message: (command) => `${command} - See a list of available commands`,
|
|
2716
2808
|
},
|
|
2717
2809
|
projectCreateCommand: {
|
|
2718
2810
|
command: 'hs project create',
|
|
2719
|
-
message: (command) =>
|
|
2811
|
+
message: (command) => `${command} - Create a new project`,
|
|
2720
2812
|
},
|
|
2721
2813
|
projectDeployCommand: {
|
|
2722
2814
|
command: 'hs project deploy',
|
|
@@ -2724,19 +2816,19 @@ export const lib = {
|
|
|
2724
2816
|
},
|
|
2725
2817
|
projectHelpCommand: {
|
|
2726
2818
|
command: 'hs project --help',
|
|
2727
|
-
message: (command) =>
|
|
2819
|
+
message: (command) => `${command} - Learn more about available project commands`,
|
|
2728
2820
|
},
|
|
2729
2821
|
projectUploadCommand: {
|
|
2730
2822
|
command: 'hs project upload',
|
|
2731
|
-
message: (command) =>
|
|
2823
|
+
message: (command) => `${command} - Upload your project to HubSpot and trigger builds`,
|
|
2732
2824
|
},
|
|
2733
2825
|
projectDevCommand: {
|
|
2734
2826
|
command: 'hs project dev',
|
|
2735
|
-
message: (command) =>
|
|
2827
|
+
message: (command) => `${command} - Set up a test environment and start local development`,
|
|
2736
2828
|
},
|
|
2737
2829
|
projectInstallDepsCommand: {
|
|
2738
2830
|
command: 'hs project install-deps',
|
|
2739
|
-
message: (command) =>
|
|
2831
|
+
message: (command) => `${command} - Install all project dependencies`,
|
|
2740
2832
|
},
|
|
2741
2833
|
sampleProjects: {
|
|
2742
2834
|
linkText: "HubSpot's sample projects",
|
|
@@ -2832,6 +2924,19 @@ export const lib = {
|
|
|
2832
2924
|
},
|
|
2833
2925
|
},
|
|
2834
2926
|
prompts: {
|
|
2927
|
+
importDataFilePathPrompt: {
|
|
2928
|
+
promptContext: `To view the JSON schema for data imports, visit ${uiLink('the docs', 'https://developers.hubspot.com/docs/guides/api/crm/imports')}`,
|
|
2929
|
+
promptMessage: '[--file-path] Select the JSON file that will be used to import your data.',
|
|
2930
|
+
},
|
|
2931
|
+
confirmImportDataPrompt: {
|
|
2932
|
+
message: (dataFileNames, cliAccount) => `You are importing [${dataFileNames.join(', ')}] into ${uiAccountDescription(getAccountIdentifier(cliAccount))}. Continue?`,
|
|
2933
|
+
},
|
|
2934
|
+
importDataTestAccountSelectPrompt: {
|
|
2935
|
+
errors: {
|
|
2936
|
+
noAccountsFound: 'No accounts found.',
|
|
2937
|
+
noChildTestAccountsFound: (parentAccountId) => `No developer test accounts found under the parent account ${uiAccountDescription(parentAccountId)}`,
|
|
2938
|
+
},
|
|
2939
|
+
},
|
|
2835
2940
|
projectDevTargetAccountPrompt: {
|
|
2836
2941
|
createNewSandboxOption: '<Test on a new development sandbox>',
|
|
2837
2942
|
createNewDeveloperTestAccountOption: '<Test on a new developer test account>',
|
|
@@ -3271,12 +3376,21 @@ export const lib = {
|
|
|
3271
3376
|
sourceContentsMoved: (newLocation) => `The contents of your old source directory have been moved to ${newLocation}, move any required files to the new source directory.`,
|
|
3272
3377
|
projectMigrationWarningTitle: '⚠️ Important: Migrating to platformVersion 2025.2 is irreversible ⚠️',
|
|
3273
3378
|
projectMigrationWarning: uiBetaTag(`Running the ${uiCommandReference('hs project migrate')} command will permanently upgrade your project to platformVersion 2025.2. This action cannot be undone. To ensure you have access to your original files, they will be copied to a new directory (archive) for safekeeping.\n\nThis command will guide you through the process, prompting you to enter the required fields and will download the new project source code into your project source directory.`, false),
|
|
3379
|
+
success: {
|
|
3380
|
+
downloadedProject: (projectName, projectDest) => `Saved ${projectName} to ${projectDest}`,
|
|
3381
|
+
themesMigrationSuccess: (platformVersion) => `Successfully migrated project to platformVersion ${chalk.bold(platformVersion)}. Upload your project using ${uiCommandReference('hs project upload')}`,
|
|
3382
|
+
},
|
|
3274
3383
|
errors: {
|
|
3275
3384
|
project: {
|
|
3276
3385
|
invalidConfig: 'The project configuration file is invalid. Please check the config file and try again.',
|
|
3277
3386
|
doesNotExist: (account) => `Project does not exist in ${uiAccountDescription(account)}. Migrations are only supported for existing projects.`,
|
|
3387
|
+
themesAlreadyMigrated: 'This project has already been migrated to the latest platform version.',
|
|
3388
|
+
noProjectForThemesMigration: 'Theme migrations are only supported for projects. Please try again from a project directory.',
|
|
3389
|
+
themesAndAppsNotAllowed: 'Support for migrating projects containing both themes and apps to the latest platform version is coming soon. Try again later.',
|
|
3278
3390
|
multipleApps: 'Multiple apps found in project, this is not allowed in 2025.2',
|
|
3279
3391
|
alreadyExists: (projectName) => `A project with name ${projectName} already exists. Please choose another name.`,
|
|
3392
|
+
failedToMigrateThemes: 'Failed to migrate project themes. Please verify that you have propoerly formatted themes before trying again.',
|
|
3393
|
+
failedToUpdateProjectConfig: 'Failed to update project config file. Please update the platformVersion in the project config file manually.',
|
|
3280
3394
|
},
|
|
3281
3395
|
unmigratableReasons: {
|
|
3282
3396
|
upToDate: 'App is already up to date',
|
|
@@ -3295,6 +3409,7 @@ export const lib = {
|
|
|
3295
3409
|
notUngatedForUnifiedApps: (account) => `Your account ${account} isn't enrolled in the required product beta to access this command.`,
|
|
3296
3410
|
},
|
|
3297
3411
|
prompt: {
|
|
3412
|
+
themesMigration: (count) => `Identified ${count} theme${count === 1 ? '' : 's'} to migrate. This will migrate all themes in the project.`,
|
|
3298
3413
|
chooseApp: 'Which app would you like to migrate?',
|
|
3299
3414
|
inputName: '[--name] What would you like to name the project?',
|
|
3300
3415
|
inputDest: '[--dest] Where would you like to save the project?',
|
|
@@ -3302,6 +3417,7 @@ export const lib = {
|
|
|
3302
3417
|
proceed: 'Would you like to proceed?',
|
|
3303
3418
|
},
|
|
3304
3419
|
spinners: {
|
|
3420
|
+
checkingForMigratableComponents: 'Checking project for migratable components...',
|
|
3305
3421
|
beginningMigration: 'Beginning migration',
|
|
3306
3422
|
unableToStartMigration: 'Unable to begin migration',
|
|
3307
3423
|
finishingMigration: 'Wrapping up migration',
|
package/lang/en.lyaml
CHANGED
|
@@ -231,6 +231,27 @@ en:
|
|
|
231
231
|
describe: "Name of new asset"
|
|
232
232
|
type:
|
|
233
233
|
describe: "Type of asset"
|
|
234
|
+
flags:
|
|
235
|
+
templateType:
|
|
236
|
+
describe: "Template type for template creation (page-template, email-template, partial, global-partial, blog-listing-template, blog-post-template, search-template, section) - only used when type is template"
|
|
237
|
+
moduleLabel:
|
|
238
|
+
describe: "Label for module creation - only used when type is module"
|
|
239
|
+
reactType:
|
|
240
|
+
describe: "Whether to create a React module - only used when type is module"
|
|
241
|
+
contentTypes:
|
|
242
|
+
describe: "Content types where the module can be used (comma-separated list: ANY, LANDING_PAGE, SITE_PAGE, BLOG_POST, BLOG_LISTING, EMAIL, KNOWLEDGE_BASE, QUOTE_TEMPLATE, CUSTOMER_PORTAL, WEB_INTERACTIVE, SUBSCRIPTION, MEMBERSHIP) - only used when type is module"
|
|
243
|
+
global:
|
|
244
|
+
describe: "Whether to create a global module - only used when type is module"
|
|
245
|
+
availableForNewContent:
|
|
246
|
+
describe: "Whether the template is available for new content"
|
|
247
|
+
functionsFolder:
|
|
248
|
+
describe: "Folder to create functions in - only used when type is function"
|
|
249
|
+
filename:
|
|
250
|
+
describe: "Filename for the function - only used when type is function"
|
|
251
|
+
endpointMethod:
|
|
252
|
+
describe: "HTTP method for the function endpoint - only used when type is function"
|
|
253
|
+
endpointPath:
|
|
254
|
+
describe: "API endpoint path for the function - only used when type is function"
|
|
234
255
|
subcommands:
|
|
235
256
|
apiSample:
|
|
236
257
|
folderOverwritePrompt: "The folder with name \"{{ folderName }}\" already exists. Overwrite?"
|
|
@@ -962,8 +983,8 @@ en:
|
|
|
962
983
|
uiExtensionLabel: "[UI Extension]"
|
|
963
984
|
missingComponents: "Couldn't find the following components in the deployed build for this project: {{#bold}}'{{ missingComponents }}'{{/bold}}. This may cause issues in local development."
|
|
964
985
|
defaultWarning: "{{#bold}}Changing project configuration requires a new project build.{{/bold}}"
|
|
965
|
-
defaultPublicAppWarning: "{{#bold}}Changing project configuration requires a new project build.{{/bold}}\n\nThis will affect your public app's {{#bold}}{{ installCount }} existing {{ installText }}{{/bold}}. If your app has users in production, we strongly recommend creating a copy of this app to test your changes before
|
|
966
|
-
defaultMarketplaceAppWarning: "{{#bold}}Changing project configuration requires creating a new project build.{{/bold}}\n\nYour marketplace app is currently installed in {{#bold}}{{ installCount }} {{ accountText }}{{/bold}}. Any uploaded changes will impact your app's users. We strongly recommend creating a copy of this app to test your changes before
|
|
986
|
+
defaultPublicAppWarning: "{{#bold}}Changing project configuration requires a new project build.{{/bold}}\n\nThis will affect your public app's {{#bold}}{{ installCount }} existing {{ installText }}{{/bold}}. If your app has users in production, we strongly recommend creating a copy of this app to test your changes before proceeding."
|
|
987
|
+
defaultMarketplaceAppWarning: "{{#bold}}Changing project configuration requires creating a new project build.{{/bold}}\n\nYour marketplace app is currently installed in {{#bold}}{{ installCount }} {{ accountText }}{{/bold}}. Any uploaded changes will impact your app's users. We strongly recommend creating a copy of this app to test your changes before proceeding."
|
|
967
988
|
header: "{{ warning }} To reflect these changes and continue testing:"
|
|
968
989
|
stopDev: " * Stop {{ command }}"
|
|
969
990
|
runUpload: " * Run {{ command }}"
|
|
@@ -1060,43 +1081,43 @@ en:
|
|
|
1060
1081
|
message: "Use the {{ command }} option with any command to override the default account"
|
|
1061
1082
|
accountsListCommand:
|
|
1062
1083
|
command: "hs account list"
|
|
1063
|
-
message: "
|
|
1084
|
+
message: "{{ command }} - See a list of configured HubSpot accounts"
|
|
1064
1085
|
accountsUseCommand:
|
|
1065
1086
|
command: "hs account use"
|
|
1066
|
-
message: "
|
|
1087
|
+
message: "{{ command }} - Set the Hubspot account that the CLI will target by default"
|
|
1067
1088
|
accountAuthCommand:
|
|
1068
1089
|
command: "hs account auth"
|
|
1069
|
-
message: "
|
|
1090
|
+
message: "{{ command }} - Connect the CLI to additional HubSpot accounts"
|
|
1070
1091
|
authCommand:
|
|
1071
1092
|
command: "hs auth"
|
|
1072
|
-
message: "
|
|
1093
|
+
message: "{{ command }} - Connect the CLI to additional HubSpot accounts"
|
|
1073
1094
|
feedbackCommand:
|
|
1074
1095
|
command: "hs feedback"
|
|
1075
|
-
message: "
|
|
1096
|
+
message: "{{ command }} - Report bugs or leave feedback"
|
|
1076
1097
|
getStartedCommand:
|
|
1077
1098
|
command: "hs get-started"
|
|
1078
|
-
message: "
|
|
1099
|
+
message: "{{ command }} - Get started with HubSpot development"
|
|
1079
1100
|
helpCommand:
|
|
1080
1101
|
command: "hs help"
|
|
1081
|
-
message: "
|
|
1102
|
+
message: "{{ command }} - See a list of available commands"
|
|
1082
1103
|
projectCreateCommand:
|
|
1083
1104
|
command: "hs project create"
|
|
1084
|
-
message: "
|
|
1105
|
+
message: "{{ command }} - create a new project"
|
|
1085
1106
|
projectDeployCommand:
|
|
1086
1107
|
command: "hs project deploy"
|
|
1087
1108
|
message: "Ready to take your project live? Run {{ command }}"
|
|
1088
1109
|
projectHelpCommand:
|
|
1089
1110
|
command: "hs project --help"
|
|
1090
|
-
message: "
|
|
1111
|
+
message: "{{ command }} - Learn more about available project commands"
|
|
1091
1112
|
projectUploadCommand:
|
|
1092
1113
|
command: "hs project upload"
|
|
1093
|
-
message: "
|
|
1114
|
+
message: "{{ command }} - Upload the project to your HubSpot account"
|
|
1094
1115
|
projectDevCommand:
|
|
1095
1116
|
command: "hs project dev"
|
|
1096
|
-
message: "
|
|
1117
|
+
message: "{{ command }} - Set up a test environment and start local development"
|
|
1097
1118
|
projectInstallDepsCommand:
|
|
1098
1119
|
command: "hs project install-deps"
|
|
1099
|
-
message: "
|
|
1120
|
+
message: "{{ command }} - Install all project dependencies"
|
|
1100
1121
|
projectCommandTip:
|
|
1101
1122
|
message: "Tip: All project commands must be run from within a project directory"
|
|
1102
1123
|
sampleProjects:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|