From ddb293b5044ee5ecc9907cfbe6c5742afba82c21 Mon Sep 17 00:00:00 2001 From: morningspace Date: Thu, 11 Jul 2024 15:32:26 -0700 Subject: [PATCH] Refine help info for cli --- tools/configuration/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/configuration/src/index.ts b/tools/configuration/src/index.ts index 97e5d63..db1b81a 100755 --- a/tools/configuration/src/index.ts +++ b/tools/configuration/src/index.ts @@ -149,7 +149,7 @@ yargs }) .epilog(examplesForImport); }, handleImport) - .command('init', 'Initialize a new package', {}, handleInit) + .command('init', 'Initialize a new configuration package', {}, handleInit) .command('publish', 'Publish the local configuration package', (yargs) => { return yargs .option('package', { @@ -390,7 +390,7 @@ async function handleImport(argv: any) { // Function to handle init logic async function handleInit() { const packageName = await input({ - message: `Enter configuration package name: (e.g.: @ibm-instana/self-monitoring, my-awesome-package): `, + message: `Enter configuration package name: (e.g.: @ibm-instana/self-monitoring, my-awesome-xyz-monitoring): `, validate: (input: string) => input ? true : 'Package name is required' });