diff --git a/README.md b/README.md index ae4d1b89..9d8b0087 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ $ npm install -g @devcycle/cli $ dvc COMMAND running command... $ dvc (--version) -@devcycle/cli/5.11.1 linux-x64 node-v18.16.0 +@devcycle/cli/5.11.1 darwin-x64 node-v16.20.0 $ dvc --help [COMMAND] USAGE $ dvc COMMAND diff --git a/oclif.manifest.json b/oclif.manifest.json index 3bbb454d..08a0d1ca 100644 --- a/oclif.manifest.json +++ b/oclif.manifest.json @@ -1,5 +1,5 @@ { - "version": "5.11.0", + "version": "5.11.1", "commands": { "authCommand": { "id": "authCommand", diff --git a/src/commands/variables/create.test.ts b/src/commands/variables/create.test.ts index 763b6a9c..a7b322db 100644 --- a/src/commands/variables/create.test.ts +++ b/src/commands/variables/create.test.ts @@ -149,7 +149,7 @@ describe('variables create', () => { (ctx) => { expect(ctx.stdout).to.contain( // eslint-disable-next-line max-len - 'The variable was associated to the existing feature spam. Use "dvc feature get spam" to see its details' + 'The variable was associated to the existing feature spam. Use "dvc features get --keys=spam" to see its details' ) }) diff --git a/src/commands/variables/create.ts b/src/commands/variables/create.ts index 30b2ff4a..d01e295e 100644 --- a/src/commands/variables/create.ts +++ b/src/commands/variables/create.ts @@ -74,8 +74,8 @@ export default class CreateVariable extends CreateCommand { ) await variableListOptions.promptVariationValues(params as Variable) await updateFeature(this.authToken, this.projectKey, feature.key, feature) - const message = `The variable was associated to the existing feature ${feature.key}.` + - `Use "dvc feature get ${feature.key}" to see its details` + const message = `The variable was associated to the existing feature ${feature.key}. ` + + `Use "dvc features get --keys=${feature.key}" to see its details` this.writer.successMessage(message) } else { const result = await createVariable(this.authToken, this.projectKey, params) @@ -96,7 +96,7 @@ export default class CreateVariable extends CreateCommand { } await updateFeature(this.authToken, this.projectKey, feature.key, feature) const message = `The variable was associated to the existing feature ${feature.key}. ` + - `Use "dvc feature get ${feature.key}" to see its details.` + `Use "dvc features get --keys=${feature.key}" to see its details.` this.writer.showRawResults(message) } else { const result = await createVariable(this.authToken, this.projectKey, params)