Skip to content

Commit f5fab46

Browse files
feat: Add a more descriptive definition for hs init (#1360)
1 parent c9cf1cd commit f5fab46

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

commands/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const SUPPORTED_AUTHENTICATION_PROTOCOLS_TEXT =
6666

6767
exports.command = 'auth';
6868
exports.describe = i18n(`${i18nKey}.describe`, {
69-
supportedProtocols: SUPPORTED_AUTHENTICATION_PROTOCOLS_TEXT,
69+
configName: DEFAULT_HUBSPOT_CONFIG_YAML_FILE_NAME,
7070
});
7171

7272
exports.handler = async options => {

lang/en.lyaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ en:
9191
other: "Remove {{ count }} inactive accounts from the CLI config?"
9292
removeSuccess: "Removed {{ accountName }} from the CLI config."
9393
auth:
94-
describe: "Configure authentication for a HubSpot account. Supported authentication protocols are {{ supportedProtocols }}."
94+
describe: "Configure authentication for your HubSpot account. This will update the {{ configName }} file that stores your account information."
9595
errors:
9696
noConfigFileFound: "No config file was found. To create a new config file, use the \"hs init\" command."
9797
unsupportedAuthType: "Unsupported auth type: {{ type }}. The only supported authentication protocols are {{ supportedProtocols }}."
@@ -156,7 +156,7 @@ en:
156156
target:
157157
describe: "Medium to test against"
158158
verbose:
159-
describe: "View a detailed output of the lighthouse sores"
159+
describe: "View a detailed output of the lighthouse scores"
160160
getReactModule:
161161
describe: "Get a specified default React module."
162162
selectModulePrompt: "Select a React module to download"
@@ -188,11 +188,11 @@ en:
188188
folderOverwritePrompt: "The folder with name \"{{ folderName }}\" already exists. Overwrite?"
189189
errors:
190190
nameRequired: "The \"name\" argument is required when creating an API Sample."
191-
noSamples: "Currently there are no samples available, please, try again later."
191+
noSamples: "Currently there are no samples available. Please try again later."
192192
info:
193193
sampleChosen: "You've chosen {{ sampleType }} sample written on {{ sampleLanguage }} language"
194194
success:
195-
sampleCreated: "Please, follow {{ filePath }}/README.md to find out how to run the sample"
195+
sampleCreated: "Please follow {{ filePath }}/README.md to find out how to run the sample"
196196
module:
197197
errors:
198198
nameRequired: "The \"name\" argument is required when creating a Custom Module."
@@ -443,7 +443,7 @@ en:
443443
success:
444444
fetch: "Downloaded HubDB table {{ tableId }} to {{ path }}"
445445
init:
446-
describe: "Initialize {{ configName }} for a HubSpot account."
446+
describe: "Configure authentication for your HubSpot account. This will create a {{ configName }} file to store your account information."
447447
options:
448448
authType:
449449
describe: "Authentication mechanism"
@@ -1296,8 +1296,8 @@ en:
12961296
blank: "The name may not be blank. Please try again."
12971297
space: "The name may not contain spaces. Please try again."
12981298
createApiSamplePrompt:
1299-
selectApiSampleApp: "Please, select API sample app"
1300-
selectLanguage: "Please, select sample app's language"
1299+
selectApiSampleApp: "Please select API sample app"
1300+
selectLanguage: "Please select sample app's language"
13011301
errors:
13021302
apiSampleAppRequired: "Please select API sample app"
13031303
languageRequired: "Please select API sample app's language"

0 commit comments

Comments
 (0)