From 3f9a6fe51cd3129fc670f5953eaa622eb72b3ab5 Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Thu, 12 Oct 2023 14:17:31 +0000 Subject: [PATCH] chore(release): 3.0.7 [skip ci] --- CHANGELOG.md | 9 +++++++++ package.json | 2 +- src/util/cache-command.ts | 1 + test/util/cache-command.test.ts | 7 +++++++ 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9db2095c3..bf16329f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [3.0.7](https://github.com/oclif/core/compare/3.0.6...3.0.7) (2023-10-12) + + +### Bug Fixes + +* use _flags for linked v2 plugins ([#820](https://github.com/oclif/core/issues/820)) ([cc63720](https://github.com/oclif/core/commit/cc63720aa90163d28dda9b5fb258ccc0556b6931)) + + + ## [3.0.6](https://github.com/oclif/core/compare/3.0.5...3.0.6) (2023-10-11) diff --git a/package.json b/package.json index b07a17048..0de07eb44 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@oclif/core", "description": "base library for oclif CLIs", - "version": "3.0.6", + "version": "3.0.7", "author": "Salesforce", "bugs": "https://github.com/oclif/core/issues", "dependencies": { diff --git a/src/util/cache-command.ts b/src/util/cache-command.ts index a49f92d5c..6d48dbdbd 100644 --- a/src/util/cache-command.ts +++ b/src/util/cache-command.ts @@ -29,6 +29,7 @@ async function cacheFlags( deprecateAliases: flag.deprecateAliases, deprecated: flag.deprecated, description: flag.description, + env: flag.env, exclusive: flag.exclusive, helpGroup: flag.helpGroup, helpLabel: flag.helpLabel, diff --git a/test/util/cache-command.test.ts b/test/util/cache-command.test.ts index 685bd8647..718952641 100644 --- a/test/util/cache-command.test.ts +++ b/test/util/cache-command.test.ts @@ -32,6 +32,7 @@ describe('cacheCommand', () => { char: 'c', min: 1, max: 10, + env: 'FLAGC', required: false, description: 'flagc desc', options: ['a', 'b'], @@ -77,6 +78,7 @@ describe('cacheCommand', () => { dependsOn: undefined, deprecateAliases: undefined, deprecated: undefined, + env: undefined, exclusive: undefined, helpGroup: undefined, helpLabel: undefined, @@ -97,6 +99,7 @@ describe('cacheCommand', () => { dependsOn: undefined, deprecateAliases: undefined, deprecated: undefined, + env: undefined, exclusive: undefined, helpGroup: undefined, helpLabel: undefined, @@ -124,6 +127,7 @@ describe('cacheCommand', () => { deprecateAliases: undefined, deprecated: undefined, description: 'flagc desc', + env: 'FLAGC', exclusive: undefined, helpGroup: undefined, helpLabel: undefined, @@ -203,6 +207,7 @@ describe('cacheCommand', () => { char: undefined, summary: undefined, description: 'Format output as json.', + env: undefined, hidden: undefined, required: undefined, helpLabel: undefined, @@ -223,6 +228,7 @@ describe('cacheCommand', () => { char: undefined, summary: undefined, description: undefined, + env: undefined, hidden: undefined, required: undefined, helpLabel: undefined, @@ -243,6 +249,7 @@ describe('cacheCommand', () => { char: undefined, summary: undefined, description: undefined, + env: undefined, hidden: undefined, required: undefined, helpLabel: undefined,