Skip to content

Commit

Permalink
Merge pull request #1 from instana/dev
Browse files Browse the repository at this point in the history
Refine help info for cli
  • Loading branch information
morningspace authored Jul 11, 2024
2 parents 8d6da9e + ddb293b commit 4230c85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/configuration/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down Expand Up @@ -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'
});

Expand Down

0 comments on commit 4230c85

Please sign in to comment.