Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a more descriptive definition for hs init #1360

Merged
merged 5 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion commands/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const SUPPORTED_AUTHENTICATION_PROTOCOLS_TEXT =

exports.command = 'auth';
exports.describe = i18n(`${i18nKey}.describe`, {
supportedProtocols: SUPPORTED_AUTHENTICATION_PROTOCOLS_TEXT,
configName: DEFAULT_HUBSPOT_CONFIG_YAML_FILE_NAME,
});

exports.handler = async options => {
Expand Down
14 changes: 7 additions & 7 deletions lang/en.lyaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ en:
other: "Remove {{ count }} inactive accounts from the CLI config?"
removeSuccess: "Removed {{ accountName }} from the CLI config."
auth:
describe: "Configure authentication for a HubSpot account. Supported authentication protocols are {{ supportedProtocols }}."
describe: "Configure authentication for your HubSpot account. This will update the {{ configName }} file that stores your account information."
errors:
noConfigFileFound: "No config file was found. To create a new config file, use the \"hs init\" command."
unsupportedAuthType: "Unsupported auth type: {{ type }}. The only supported authentication protocols are {{ supportedProtocols }}."
Expand Down Expand Up @@ -156,7 +156,7 @@ en:
target:
describe: "Medium to test against"
verbose:
describe: "View a detailed output of the lighthouse sores"
describe: "View a detailed output of the lighthouse scores"
getReactModule:
describe: "Get a specified default React module."
selectModulePrompt: "Select a React module to download"
Expand Down Expand Up @@ -188,11 +188,11 @@ en:
folderOverwritePrompt: "The folder with name \"{{ folderName }}\" already exists. Overwrite?"
errors:
nameRequired: "The \"name\" argument is required when creating an API Sample."
noSamples: "Currently there are no samples available, please, try again later."
noSamples: "Currently there are no samples available. Please try again later."
info:
sampleChosen: "You've chosen {{ sampleType }} sample written on {{ sampleLanguage }} language"
success:
sampleCreated: "Please, follow {{ filePath }}/README.md to find out how to run the sample"
sampleCreated: "Please follow {{ filePath }}/README.md to find out how to run the sample"
module:
errors:
nameRequired: "The \"name\" argument is required when creating a Custom Module."
Expand Down Expand Up @@ -443,7 +443,7 @@ en:
success:
fetch: "Downloaded HubDB table {{ tableId }} to {{ path }}"
init:
describe: "Initialize {{ configName }} for a HubSpot account."
describe: "Configure authentication for your HubSpot account. This will create a {{ configName }} file to store your account information."
options:
authType:
describe: "Authentication mechanism"
Expand Down Expand Up @@ -1296,8 +1296,8 @@ en:
blank: "The name may not be blank. Please try again."
space: "The name may not contain spaces. Please try again."
createApiSamplePrompt:
selectApiSampleApp: "Please, select API sample app"
selectLanguage: "Please, select sample app's language"
selectApiSampleApp: "Please select API sample app"
selectLanguage: "Please select sample app's language"
errors:
apiSampleAppRequired: "Please select API sample app"
languageRequired: "Please select API sample app's language"
Expand Down