@salesforce/sf-plugins-core 1.13.2 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/exported.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ import { Flags as OclifFlags } from '@oclif/core';
2
3
  export { toHelpSection } from './util';
3
4
  export { Deployable, Deployer, DeployerResult } from './deployer';
4
5
  export { Deauthorizer } from './deauthorizer';
@@ -6,21 +7,26 @@ export { Progress, Prompter, generateTableChoices } from './ux';
6
7
  export { SfHook } from './hooks';
7
8
  export * from './types';
8
9
  export { SfCommand, SfCommandInterface, StandardColors } from './sfCommand';
9
- import { salesforceIdFlag } from './flags/salesforceId';
10
- import { durationFlag } from './flags/duration';
11
10
  export declare const Flags: {
12
- boolean: typeof import("@oclif/core/lib/parser/flags").boolean;
13
- directory: typeof import("@oclif/core/lib/parser/flags").directory;
14
- enum: <T = string>(opts: import("@oclif/core/lib/interfaces").EnumFlagOptions<T>) => import("@oclif/core/lib/interfaces").OptionFlag<T>;
15
- file: typeof import("@oclif/core/lib/parser/flags").file;
16
- integer: typeof import("@oclif/core/lib/parser/flags").integer;
17
- string: import("@oclif/core/lib/interfaces").Definition<string>;
18
- url: import("@oclif/core/lib/interfaces").Definition<import("url").URL>;
19
- duration: typeof durationFlag;
20
- salesforceId: typeof salesforceIdFlag;
21
- orgApiVersion: import("@oclif/core/lib/interfaces").Definition<string>;
22
- requiredOrg: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/core").Org>;
23
- requiredHub: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/core").Org>;
24
- optionalOrg: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/core").Org | undefined>;
11
+ boolean: typeof OclifFlags.boolean;
12
+ directory: import("@oclif/core/lib/interfaces").Definition<string, {
13
+ exists?: boolean | undefined;
14
+ }>;
15
+ enum: typeof OclifFlags._enum;
16
+ file: import("@oclif/core/lib/interfaces").Definition<string, {
17
+ exists?: boolean | undefined;
18
+ }>;
19
+ integer: import("@oclif/core/lib/interfaces").Definition<number, {
20
+ min?: number | undefined;
21
+ max?: number | undefined;
22
+ }>;
23
+ string: import("@oclif/core/lib/interfaces").Definition<string, Record<string, unknown>>;
24
+ url: import("@oclif/core/lib/interfaces").Definition<import("url").URL, Record<string, unknown>>;
25
+ duration: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/kit").Duration, import("./flags/duration").DurationFlagConfig>;
26
+ salesforceId: import("@oclif/core/lib/interfaces").Definition<string, import("./flags/salesforceId").IdFlagConfig>;
27
+ orgApiVersion: import("@oclif/core/lib/interfaces").Definition<string, Record<string, unknown>>;
28
+ requiredOrg: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/core").Org, Record<string, unknown>>;
29
+ requiredHub: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/core").Org, Record<string, unknown>>;
30
+ optionalOrg: import("@oclif/core/lib/interfaces").Definition<import("@salesforce/core").Org | undefined, Record<string, unknown>>;
25
31
  };
26
32
  //# sourceMappingURL=exported.d.ts.map
@@ -1,12 +1,11 @@
1
- import { Interfaces } from '@oclif/core';
2
1
  import { Duration } from '@salesforce/kit';
3
2
  declare type DurationUnit = Lowercase<keyof typeof Duration.Unit>;
4
- export interface DurationFlagConfig extends Partial<Interfaces.OptionFlag<Duration>> {
3
+ export declare type DurationFlagConfig = {
5
4
  unit: Required<DurationUnit>;
6
5
  defaultValue?: number;
7
6
  min?: number;
8
7
  max?: number;
9
- }
8
+ };
10
9
  /**
11
10
  * Duration flag with built-in default and min/max validation
12
11
  * You must specify a unit
@@ -24,11 +23,6 @@ export interface DurationFlagConfig extends Partial<Interfaces.OptionFlag<Durati
24
23
  * }),
25
24
  * }
26
25
  */
27
- export declare function durationFlag(durationConfig: DurationFlagConfig & ({
28
- required: true;
29
- } | {
30
- default: Interfaces.Default<Duration>;
31
- })): Interfaces.OptionFlag<Duration>;
32
- export declare function durationFlag(durationConfig: DurationFlagConfig): Interfaces.OptionFlag<Duration | undefined>;
26
+ export declare const durationFlag: import("@oclif/core/lib/interfaces").Definition<Duration, DurationFlagConfig>;
33
27
  export {};
34
28
  //# sourceMappingURL=duration.d.ts.map
@@ -12,15 +12,29 @@ const core_2 = require("@salesforce/core");
12
12
  const kit_1 = require("@salesforce/kit");
13
13
  core_2.Messages.importMessagesDirectory(__dirname);
14
14
  const messages = core_2.Messages.loadMessages('@salesforce/sf-plugins-core', 'messages');
15
- function durationFlag(durationConfig) {
16
- const { defaultValue, min, max, unit, ...baseProps } = durationConfig;
17
- return core_1.Flags.build({
18
- ...baseProps,
19
- parse: async (input) => validate(input, { min, max, unit }),
20
- default: defaultValue ? async () => toDuration(defaultValue, unit) : undefined,
21
- })();
22
- }
23
- exports.durationFlag = durationFlag;
15
+ /**
16
+ * Duration flag with built-in default and min/max validation
17
+ * You must specify a unit
18
+ * Defaults to undefined if you don't specify a default
19
+ *
20
+ * @example
21
+ * import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
22
+ * public static flags = {
23
+ * 'wait': duration({
24
+ * min: 1,
25
+ * unit: 'minutes'
26
+ * defaultValue: 33,
27
+ * char: 'w',
28
+ * description: 'Wait time in minutes'
29
+ * }),
30
+ * }
31
+ */
32
+ exports.durationFlag = core_1.Flags.custom({
33
+ parse: async (input, _, opts) => validate(input, opts),
34
+ default: async (context) => {
35
+ return context.options.defaultValue ? toDuration(context.options.defaultValue, context.options.unit) : undefined;
36
+ },
37
+ });
24
38
  const validate = (input, config) => {
25
39
  const { min, max, unit } = config || {};
26
40
  let parsedInput;
@@ -9,5 +9,5 @@ export declare const maxDeprecatedUrl = "https://help.salesforce.com/s/articleVi
9
9
  * CAVEAT: unlike the apiversion flag on sfdxCommand, this does not set the version on the org/connection
10
10
  * We leave this up to the plugins to implement
11
11
  */
12
- export declare const orgApiVersionFlag: import("@oclif/core/lib/interfaces").Definition<string>;
12
+ export declare const orgApiVersionFlag: import("@oclif/core/lib/interfaces").Definition<string, Record<string, unknown>>;
13
13
  //# sourceMappingURL=orgApiVersion.d.ts.map
@@ -24,7 +24,7 @@ exports.maxDeprecatedUrl = 'https://help.salesforce.com/s/articleView?id=0003544
24
24
  * CAVEAT: unlike the apiversion flag on sfdxCommand, this does not set the version on the org/connection
25
25
  * We leave this up to the plugins to implement
26
26
  */
27
- exports.orgApiVersionFlag = core_1.Flags.build({
27
+ exports.orgApiVersionFlag = core_1.Flags.custom({
28
28
  parse: async (input) => validate(input),
29
29
  default: async () => await getDefaultFromConfig(),
30
30
  description: messages.getMessage('flags.apiVersion.description'),
@@ -16,7 +16,7 @@ import { Org } from '@salesforce/core';
16
16
  * }),
17
17
  * }
18
18
  */
19
- export declare const optionalOrgFlag: import("@oclif/core/lib/interfaces").Definition<Org | undefined>;
19
+ export declare const optionalOrgFlag: import("@oclif/core/lib/interfaces").Definition<Org | undefined, Record<string, unknown>>;
20
20
  /**
21
21
  * A required org, specified by username or alias
22
22
  * Will throw if the specified org default do not exist
@@ -36,7 +36,7 @@ export declare const optionalOrgFlag: import("@oclif/core/lib/interfaces").Defin
36
36
  * }),
37
37
  * }
38
38
  */
39
- export declare const requiredOrgFlag: import("@oclif/core/lib/interfaces").Definition<Org>;
39
+ export declare const requiredOrgFlag: import("@oclif/core/lib/interfaces").Definition<Org, Record<string, unknown>>;
40
40
  /**
41
41
  * A required org that is a devHub
42
42
  * Will throw if the specified org does not exist
@@ -56,5 +56,5 @@ export declare const requiredOrgFlag: import("@oclif/core/lib/interfaces").Defin
56
56
  * }),
57
57
  * }
58
58
  */
59
- export declare const requiredHubFlag: import("@oclif/core/lib/interfaces").Definition<Org>;
59
+ export declare const requiredHubFlag: import("@oclif/core/lib/interfaces").Definition<Org, Record<string, unknown>>;
60
60
  //# sourceMappingURL=orgFlags.d.ts.map
@@ -64,7 +64,7 @@ const getHubOrThrow = async (aliasOrUsername) => {
64
64
  * }),
65
65
  * }
66
66
  */
67
- exports.optionalOrgFlag = core_1.Flags.build({
67
+ exports.optionalOrgFlag = core_1.Flags.custom({
68
68
  char: 'e',
69
69
  parse: async (input) => await maybeGetOrg(input),
70
70
  default: async () => await maybeGetOrg(),
@@ -89,7 +89,7 @@ exports.optionalOrgFlag = core_1.Flags.build({
89
89
  * }),
90
90
  * }
91
91
  */
92
- exports.requiredOrgFlag = core_1.Flags.build({
92
+ exports.requiredOrgFlag = core_1.Flags.custom({
93
93
  char: 'e',
94
94
  parse: async (input) => await getOrgOrThrow(input),
95
95
  default: async () => await getOrgOrThrow(),
@@ -114,7 +114,7 @@ exports.requiredOrgFlag = core_1.Flags.build({
114
114
  * }),
115
115
  * }
116
116
  */
117
- exports.requiredHubFlag = core_1.Flags.build({
117
+ exports.requiredHubFlag = core_1.Flags.custom({
118
118
  char: 'v',
119
119
  parse: async (input) => await getHubOrThrow(input),
120
120
  default: async () => await getHubOrThrow(),
@@ -1,5 +1,4 @@
1
- import { Interfaces } from '@oclif/core';
2
- export interface IdFlagConfig extends Partial<Interfaces.OptionFlag<string>> {
1
+ export declare type IdFlagConfig = {
3
2
  /**
4
3
  * Can specify if the version must be 15 or 18 characters long. Leave blank to allow either 15 or 18.
5
4
  */
@@ -8,7 +7,7 @@ export interface IdFlagConfig extends Partial<Interfaces.OptionFlag<string>> {
8
7
  * If the ID belongs to a certain sobject type, specify the 3 character prefix.
9
8
  */
10
9
  startsWith?: string;
11
- }
10
+ };
12
11
  /**
13
12
  * Id flag with built-in validation. Short character is `i`
14
13
  *
@@ -28,10 +27,5 @@ export interface IdFlagConfig extends Partial<Interfaces.OptionFlag<string>> {
28
27
  * }),
29
28
  * }
30
29
  */
31
- export declare function salesforceIdFlag(inputs: IdFlagConfig & ({
32
- required: true;
33
- } | {
34
- default: Interfaces.Default<string>;
35
- })): Interfaces.OptionFlag<string>;
36
- export declare function salesforceIdFlag(inputs?: IdFlagConfig): Interfaces.OptionFlag<string | undefined>;
30
+ export declare const salesforceIdFlag: import("@oclif/core/lib/interfaces").Definition<string, IdFlagConfig>;
37
31
  //# sourceMappingURL=salesforceId.d.ts.map
@@ -11,15 +11,29 @@ const core_1 = require("@oclif/core");
11
11
  const core_2 = require("@salesforce/core");
12
12
  core_2.Messages.importMessagesDirectory(__dirname);
13
13
  const messages = core_2.Messages.loadMessages('@salesforce/sf-plugins-core', 'messages');
14
- function salesforceIdFlag(inputs = {}) {
15
- const { length, startsWith, ...baseProps } = inputs;
16
- return core_1.Flags.build({
17
- char: 'i',
18
- ...baseProps,
19
- parse: async (input) => validate(input, { length, startsWith }),
20
- })();
21
- }
22
- exports.salesforceIdFlag = salesforceIdFlag;
14
+ /**
15
+ * Id flag with built-in validation. Short character is `i`
16
+ *
17
+ * @example
18
+ * import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
19
+ * public static flags = {
20
+ * // set length or prefix
21
+ * 'flag-name': salesforceId({ length: 15, startsWith: '00D' }),
22
+ * // add flag properties
23
+ * 'flag2': salesforceId({
24
+ * required: true,
25
+ * description: 'flag2 description',
26
+ * }),
27
+ * // override the character i
28
+ * 'flag3': salesforceId({
29
+ * char: 'j',
30
+ * }),
31
+ * }
32
+ */
33
+ exports.salesforceIdFlag = core_1.Flags.custom({
34
+ parse: async (input, _ctx, opts) => validate(input, opts),
35
+ char: 'i',
36
+ });
23
37
  const validate = (input, config) => {
24
38
  const { length, startsWith } = config || {};
25
39
  if (length && input.length !== length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/sf-plugins-core",
3
- "version": "1.13.2",
3
+ "version": "1.14.0",
4
4
  "description": "Utils for writing deploy and retrieve plugins",
5
5
  "main": "lib/exported",
6
6
  "types": "lib/exported.d.ts",
@@ -32,7 +32,7 @@
32
32
  "/messages"
33
33
  ],
34
34
  "dependencies": {
35
- "@oclif/core": "^1.13.9",
35
+ "@oclif/core": "^1.15.0",
36
36
  "@salesforce/core": "^3.25.0",
37
37
  "@salesforce/kit": "^1.5.44",
38
38
  "@salesforce/ts-types": "^1.5.20",
package/CHANGELOG.md DELETED
@@ -1,393 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ### [1.13.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.13.1...v1.13.2) (2022-08-09)
6
-
7
- ### Bug Fixes
8
-
9
- - add function overloads to custom flags ([12c1178](https://github.com/salesforcecli/sf-plugins-core/commit/12c117837a08bc8cf8eff41832f95a19d3386b18))
10
- - compile errors ([3782a70](https://github.com/salesforcecli/sf-plugins-core/commit/3782a703b7b0eddbc3d47a7dcbdf33272bdfd6fc))
11
-
12
- ### [1.13.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.13.0...v1.13.1) (2022-08-03)
13
-
14
- ### Bug Fixes
15
-
16
- - add number to deploy function return type ([ac9457b](https://github.com/salesforcecli/sf-plugins-core/commit/ac9457b78ab1242090fc4322ec266e8d0157cb6f))
17
-
18
- ## [1.13.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.12.3...v1.13.0) (2022-06-09)
19
-
20
- ### Features
21
-
22
- - catch method supports base and SfError ([2b9a038](https://github.com/salesforcecli/sf-plugins-core/commit/2b9a038713c77e1230e21f5cc6f8ae2a6aaab5be))
23
-
24
- ### Bug Fixes
25
-
26
- - error can't be spread ([30930b7](https://github.com/salesforcecli/sf-plugins-core/commit/30930b74ff5e6b59116228d547362a284ad98388))
27
-
28
- ### [1.12.3](https://github.com/salesforcecli/sf-plugins-core/compare/v1.12.2...v1.12.3) (2022-05-04)
29
-
30
- ### Bug Fixes
31
-
32
- - prevent multiple starts of progress bar ([8ec788c](https://github.com/salesforcecli/sf-plugins-core/commit/8ec788cfda452d2c227631fde64e01786f6f6a49))
33
- - stop using once ([970fb80](https://github.com/salesforcecli/sf-plugins-core/commit/970fb808ad14a8d8bce0daabd78854c4a046e621))
34
-
35
- ### [1.12.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.12.1...v1.12.2) (2022-05-03)
36
-
37
- ### Bug Fixes
38
-
39
- - update error message ([182cfa3](https://github.com/salesforcecli/sf-plugins-core/commit/182cfa30beb4e7fe052a0453d141e19ba7129647))
40
-
41
- ### [1.12.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.12.0...v1.12.1) (2022-04-20)
42
-
43
- ### Bug Fixes
44
-
45
- - update config vars ([0c557b5](https://github.com/salesforcecli/sf-plugins-core/commit/0c557b59f6b833a6fe2812d9a765a2f006f57b01))
46
-
47
- ## [1.12.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.11.3...v1.12.0) (2022-04-18)
48
-
49
- ### Features
50
-
51
- - adjusting message colors for accessibility ([6f873da](https://github.com/salesforcecli/sf-plugins-core/commit/6f873daf2e05c2ec0b52b357b15333a3b68e106e))
52
-
53
- ### [1.11.3](https://github.com/salesforcecli/sf-plugins-core/compare/v1.11.2...v1.11.3) (2022-04-12)
54
-
55
- ### Bug Fixes
56
-
57
- - need await in order for the catch to be effective ([2805578](https://github.com/salesforcecli/sf-plugins-core/commit/28055783503177667620528b6246b252ff10cb7f))
58
-
59
- ### [1.11.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.11.1...v1.11.2) (2022-04-11)
60
-
61
- ### Bug Fixes
62
-
63
- - optional orgs can be undefined ([412629d](https://github.com/salesforcecli/sf-plugins-core/commit/412629de689d7d73b7c2b0673b8e9b373cc957bc))
64
- - throw if input provided but no org found ([10be468](https://github.com/salesforcecli/sf-plugins-core/commit/10be468c0c3e164fed171c947dbe437b2325605c))
65
-
66
- ### [1.11.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.11.0...v1.11.1) (2022-04-07)
67
-
68
- ### Bug Fixes
69
-
70
- - adjust message formats ([5b62ced](https://github.com/salesforcecli/sf-plugins-core/commit/5b62cedeb522c08dcce01159a22060be72c1bf62))
71
-
72
- ## [1.11.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.10.0...v1.11.0) (2022-03-31)
73
-
74
- ### Features
75
-
76
- - support error codes help section ([4852a4f](https://github.com/salesforcecli/sf-plugins-core/commit/4852a4f75bcc744febf276293ed5bf45080436e6))
77
-
78
- ## [1.10.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.9.0...v1.10.0) (2022-03-31)
79
-
80
- ### Features
81
-
82
- - warn users when using a beta command ([2cf26f2](https://github.com/salesforcecli/sf-plugins-core/commit/2cf26f2d363a40b0739f082bfe4aedd62fd4531f))
83
-
84
- ## [1.9.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.8.1...v1.9.0) (2022-03-24)
85
-
86
- ### Features
87
-
88
- - explain what a valid api version looks like ([4c5669a](https://github.com/salesforcecli/sf-plugins-core/commit/4c5669a969ef79eae1d4aec76f6cb20df92aae5e))
89
-
90
- ### [1.8.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.8.0...v1.8.1) (2022-03-24)
91
-
92
- ### Bug Fixes
93
-
94
- - log errors to stderr ([9958d8e](https://github.com/salesforcecli/sf-plugins-core/commit/9958d8e49cf1fbe514026491d8d095651d1cb88b))
95
-
96
- ## [1.8.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.7.2...v1.8.0) (2022-03-17)
97
-
98
- ### Features
99
-
100
- - confirms are timed ([9c89ee9](https://github.com/salesforcecli/sf-plugins-core/commit/9c89ee99901c7abefc11a811e8e4dda0c704ed1c))
101
- - simplified confirm prompts ([ddf1364](https://github.com/salesforcecli/sf-plugins-core/commit/ddf1364a48fb384bd0ad66bc310a35abcef20d68))
102
-
103
- ### Bug Fixes
104
-
105
- - better checking of hub ([8c92bfe](https://github.com/salesforcecli/sf-plugins-core/commit/8c92bfed8f0600ff03489abbb253b5b95c95128a))
106
- - no unused, respects timeout ([c41c43e](https://github.com/salesforcecli/sf-plugins-core/commit/c41c43e5c480dc1dd914a86ec8c97a8af41369a1))
107
- - use OptionFlag interface so that exactlyOne can be used ([0e65453](https://github.com/salesforcecli/sf-plugins-core/commit/0e65453dacb68a90f4af2387e571edbd4077ba1b))
108
-
109
- ### [1.7.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.7.1...v1.7.2) (2022-03-15)
110
-
111
- ### Bug Fixes
112
-
113
- - need to pass ms to timedPrompt function ([f285e07](https://github.com/salesforcecli/sf-plugins-core/commit/f285e07525937798d0251da69c86c05cc683edfd))
114
-
115
- ### [1.7.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.7.0...v1.7.1) (2022-03-11)
116
-
117
- ### Bug Fixes
118
-
119
- - add oclif enum to exports ([71ee6ac](https://github.com/salesforcecli/sf-plugins-core/commit/71ee6ac7942790ffc519512ade67330614ada51b))
120
- - expose timed prompt in command class ([3b056c6](https://github.com/salesforcecli/sf-plugins-core/commit/3b056c668d3379ada6f85e2e5b5f6da76c1a3223))
121
-
122
- ## [1.7.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.6.1...v1.7.0) (2022-03-11)
123
-
124
- ### Features
125
-
126
- - suppress progress bar output with env vars ([d2e8a84](https://github.com/salesforcecli/sf-plugins-core/commit/d2e8a849d7ca93b3dba538a26ce5f9ab7f858984))
127
-
128
- ### [1.6.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.6.0...v1.6.1) (2022-03-09)
129
-
130
- ### Bug Fixes
131
-
132
- - erturn error - dont throw ([0ea70bc](https://github.com/salesforcecli/sf-plugins-core/commit/0ea70bc12cecd380a907323eba84ddb9d5a44e08))
133
-
134
- ## [1.6.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.5.3...v1.6.0) (2022-03-08)
135
-
136
- ### Features
137
-
138
- - add timedPrompt method ([ea9e98c](https://github.com/salesforcecli/sf-plugins-core/commit/ea9e98c5bffdfc1e917d61006a91f4dba1f808f3))
139
-
140
- ### [1.5.3](https://github.com/salesforcecli/sf-plugins-core/compare/v1.5.2...v1.5.3) (2022-03-08)
141
-
142
- ### Bug Fixes
143
-
144
- - expose styledHeader as func in sf command ([fd2dc48](https://github.com/salesforcecli/sf-plugins-core/commit/fd2dc48444be224a884c3b56d5604f4b854f1c0e))
145
-
146
- ### [1.5.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.5.1...v1.5.2) (2022-03-07)
147
-
148
- ### Bug Fixes
149
-
150
- - add styled header function to sf command ([5cc0e8b](https://github.com/salesforcecli/sf-plugins-core/commit/5cc0e8bf60774918c2ebaf2ba5b465f3dd6caf15))
151
- - retrhow ([eaebd44](https://github.com/salesforcecli/sf-plugins-core/commit/eaebd44d0028cedab92173ed30050757602d2c28))
152
-
153
- ### [1.5.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.5.0...v1.5.1) (2022-03-07)
154
-
155
- ## [1.5.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.4.1...v1.5.0) (2022-03-03)
156
-
157
- ### Features
158
-
159
- - friendly default help for org flags ([f4d55b3](https://github.com/salesforcecli/sf-plugins-core/commit/f4d55b30c08e988c0231b97acce8ba2bc9733a06))
160
-
161
- ### [1.4.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.4.0...v1.4.1) (2022-03-02)
162
-
163
- ### Bug Fixes
164
-
165
- - make toHelpSection types more friendly ([add364b](https://github.com/salesforcecli/sf-plugins-core/commit/add364b6be532dae6fb49f62164dad486b186347))
166
-
167
- ## [1.4.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.3.0...v1.4.0) (2022-03-02)
168
-
169
- ### Features
170
-
171
- - common salesforce flags ([00ab4fc](https://github.com/salesforcecli/sf-plugins-core/commit/00ab4fc94d268b44dccb6a2de02fe4f720ff0fc0))
172
- - debugging ([cc3fd1e](https://github.com/salesforcecli/sf-plugins-core/commit/cc3fd1e46134c08a4d76e79c74605e90e09abbb3))
173
- - duration flag ([b11eaab](https://github.com/salesforcecli/sf-plugins-core/commit/b11eaabb0050961094f412d85c2bbbf4b183cd40))
174
-
175
- ### Bug Fixes
176
-
177
- - error keys support createError ([f094c49](https://github.com/salesforcecli/sf-plugins-core/commit/f094c49f1ec1063fb05cdc74e1aab88e7ceb7f13))
178
- - error message doesn't take params ([5d917bf](https://github.com/salesforcecli/sf-plugins-core/commit/5d917bf100d41077d2eaabcd89c41fa049ef6f21))
179
- - wrong error name ([1b3bbbe](https://github.com/salesforcecli/sf-plugins-core/commit/1b3bbbeae9f3e888faf438fe8d1f4bfd6bdac2c9))
180
-
181
- ## [1.3.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.2.1...v1.3.0) (2022-02-23)
182
-
183
- ### Features
184
-
185
- - add requiresProject property ([5ff0cf3](https://github.com/salesforcecli/sf-plugins-core/commit/5ff0cf34fffe896e1ed312585705ff13436e58cf))
186
-
187
- ### [1.2.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.2.0...v1.2.1) (2022-01-27)
188
-
189
- ### Bug Fixes
190
-
191
- - protect against non-existent bar ([2d0dc37](https://github.com/salesforcecli/sf-plugins-core/commit/2d0dc37ce7fedfee4413ae91299de11c8cd9db93))
192
-
193
- ## [1.2.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.1.0...v1.2.0) (2022-01-27)
194
-
195
- ### Features
196
-
197
- - expose ux methods in SfCommand ([8e58a93](https://github.com/salesforcecli/sf-plugins-core/commit/8e58a93a942d5a0305a77a82e938f778c59fcd16))
198
-
199
- ## [1.1.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.5...v1.1.0) (2022-01-03)
200
-
201
- ### Features
202
-
203
- - add spinner methods ([f209f8f](https://github.com/salesforcecli/sf-plugins-core/commit/f209f8f4e6736b9de91e37f865d66b5356e5abec))
204
-
205
- ### Bug Fixes
206
-
207
- - add status method ([9cf2069](https://github.com/salesforcecli/sf-plugins-core/commit/9cf20694d76e2509785b7c8faa4bd63ab190707e))
208
- - make status a getter/setter ([441c55a](https://github.com/salesforcecli/sf-plugins-core/commit/441c55acd3d811664213e9801a8bcc270e3aca7b))
209
-
210
- ### [1.0.5](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.4...v1.0.5) (2021-12-16)
211
-
212
- ### Bug Fixes
213
-
214
- - bump dependencies ([4f78d8c](https://github.com/salesforcecli/sf-plugins-core/commit/4f78d8c940aab41bb406c45a9df98f686e626d28))
215
-
216
- ### [1.0.4](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.3...v1.0.4) (2021-10-13)
217
-
218
- ### Bug Fixes
219
-
220
- - bump module versions ([abdf5e3](https://github.com/salesforcecli/sf-plugins-core/commit/abdf5e37205b464a36393ca1887ce90a7c1ba302))
221
-
222
- ### [1.0.3](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.2...v1.0.3) (2021-10-12)
223
-
224
- ### [1.0.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.1...v1.0.2) (2021-10-11)
225
-
226
- ### Bug Fixes
227
-
228
- - bump oclif and sfdx-core versions ([3d38a70](https://github.com/salesforcecli/sf-plugins-core/commit/3d38a70dcad79aa151529bf51d281f68fe92a3ce))
229
-
230
- ### [1.0.1](https://github.com/salesforcecli/sf-plugins-core/compare/v1.0.0...v1.0.1) (2021-10-06)
231
-
232
- ### Bug Fixes
233
-
234
- - update inquirer ([067bbfb](https://github.com/salesforcecli/sf-plugins-core/commit/067bbfbbfcd271ae25260e6b83452093b1fe4deb))
235
-
236
- ## [1.0.0](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.28...v1.0.0) (2021-09-29)
237
-
238
- ### [0.0.28](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.27...v0.0.28) (2021-09-29)
239
-
240
- ### Bug Fixes
241
-
242
- - allow empty message in logSensitive ([5b8edf5](https://github.com/salesforcecli/sf-plugins-core/commit/5b8edf509647887500d9e71b506939b3cc6945d9))
243
-
244
- ### [0.0.27](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.26...v0.0.27) (2021-09-29)
245
-
246
- ### Bug Fixes
247
-
248
- - publish messages ([91a6aa6](https://github.com/salesforcecli/sf-plugins-core/commit/91a6aa6c396f9b33049407820d0b8bd9caaa30f4))
249
-
250
- ### [0.0.26](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.25...v0.0.26) (2021-09-29)
251
-
252
- ### Features
253
-
254
- - logSensitive, capture warnings ([a8b3e76](https://github.com/salesforcecli/sf-plugins-core/commit/a8b3e76ff20806b136ee606797b84a70c8f5a528))
255
-
256
- ### [0.0.25](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.24...v0.0.25) (2021-09-21)
257
-
258
- ### Bug Fixes
259
-
260
- - add envirnment type to env list ([8f020df](https://github.com/salesforcecli/sf-plugins-core/commit/8f020dfc8695be19a7fd1f4b811b8c2b8c321418))
261
-
262
- ### [0.0.24](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.23...v0.0.24) (2021-09-16)
263
-
264
- ### Bug Fixes
265
-
266
- - allow null for EnvDisplay ([0868d3f](https://github.com/salesforcecli/sf-plugins-core/commit/0868d3f0ed23e28c53ce11cb447e41b9b0144ac1))
267
-
268
- ### [0.0.23](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.22...v0.0.23) (2021-09-15)
269
-
270
- ### Bug Fixes
271
-
272
- - update to latest oclif/core and enable json flag ([b486ef1](https://github.com/salesforcecli/sf-plugins-core/commit/b486ef173b27ba465cc8fddf53e3a53d339f8734))
273
-
274
- ### [0.0.22](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.21...v0.0.22) (2021-09-15)
275
-
276
- ### Bug Fixes
277
-
278
- - bump oclif/core ([c7a07f7](https://github.com/salesforcecli/sf-plugins-core/commit/c7a07f7671699197f3db93ec750e009eb9dfd56f))
279
-
280
- ### [0.0.21](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.20...v0.0.21) (2021-09-14)
281
-
282
- ### Bug Fixes
283
-
284
- - move sf command to this repo ([968f80f](https://github.com/salesforcecli/sf-plugins-core/commit/968f80f0b8aecd0d47fe8d428c605117828f886f))
285
-
286
- ### [0.0.20](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.19...v0.0.20) (2021-09-14)
287
-
288
- ### [0.0.19](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.18...v0.0.19) (2021-09-13)
289
-
290
- ### Features
291
-
292
- - add logout hook ([4a4d79b](https://github.com/salesforcecli/sf-plugins-core/commit/4a4d79bcd9f2017e70f75967bb0661ae3eb4aa4a))
293
-
294
- ### [0.0.18](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.17...v0.0.18) (2021-09-10)
295
-
296
- ### Bug Fixes
297
-
298
- - missed export ([63086ae](https://github.com/salesforcecli/sf-plugins-core/commit/63086aee3dc26c6f674c0bad8054205ed3992597))
299
-
300
- ### [0.0.17](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.16...v0.0.17) (2021-09-10)
301
-
302
- ### Features
303
-
304
- - add help section helper function ([379d14f](https://github.com/salesforcecli/sf-plugins-core/commit/379d14f45eedc46736f64bb5c37a7f906e235d4c))
305
-
306
- ### [0.0.16](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.15...v0.0.16) (2021-09-08)
307
-
308
- ### Bug Fixes
309
-
310
- - bump oclif/core ([1cd3df6](https://github.com/salesforcecli/sf-plugins-core/commit/1cd3df66dde4d1e5386221e892aa01a7d504261c))
311
-
312
- ### [0.0.15](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.14...v0.0.15) (2021-08-31)
313
-
314
- ### Bug Fixes
315
-
316
- - improve jsdocs ([e3e3784](https://github.com/salesforcecli/sf-plugins-core/commit/e3e3784954fc2d6b06f96459c824cf77795a9de9))
317
- - improve jsdocs ([aefdd06](https://github.com/salesforcecli/sf-plugins-core/commit/aefdd06b164d413b3f3c4d51b36dea475efcc3ef))
318
-
319
- ### [0.0.14](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.13...v0.0.14) (2021-08-31)
320
-
321
- ### Bug Fixes
322
-
323
- - improve env types ([e7a7c1d](https://github.com/salesforcecli/sf-plugins-core/commit/e7a7c1df001d02b60c31bcbe5abe4ab31d5faf8d))
324
-
325
- ### [0.0.13](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.12...v0.0.13) (2021-08-30)
326
-
327
- ### Bug Fixes
328
-
329
- - update exports ([548ab46](https://github.com/salesforcecli/sf-plugins-core/commit/548ab4646bd1e2d79dbda0609551e6f805b69d09))
330
-
331
- ### [0.0.12](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.11...v0.0.12) (2021-08-30)
332
-
333
- ### Features
334
-
335
- - support env display ([446af15](https://github.com/salesforcecli/sf-plugins-core/commit/446af15385ed57e7d5ebd40c4a4964b2bf326e16))
336
-
337
- ### [0.0.11](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.10...v0.0.11) (2021-08-30)
338
-
339
- ### Features
340
-
341
- - rename to sf-plugins-core ([e51d6aa](https://github.com/salesforcecli/sf-plugins-core/commit/e51d6aa6879c085ae9efac990d6d406a79615088))
342
-
343
- ### [0.0.10](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.9...v0.0.10) (2021-08-10)
344
-
345
- ### Bug Fixes
346
-
347
- - correct header to data column alignment ([a6d1baf](https://github.com/salesforcecli/sf-plugins-core/commit/a6d1bafd098443dcb4381f03fd7283594d263c8d))
348
-
349
- ### [0.0.9](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.8...v0.0.9) (2021-07-15)
350
-
351
- ### Bug Fixes
352
-
353
- - rename ProjectDeployOptions to DeployOptions ([eafefcf](https://github.com/salesforcecli/sf-plugins-core/commit/eafefcfb55f73e96e2b0b08bb3129b6aa0fb6571))
354
-
355
- ### [0.0.8](https://github.com/salesforcecli/sf-plugins-core/compare/v0.0.7...v0.0.8) (2021-07-15)
356
-
357
- ### [0.0.7](https://github.com/salesforcecli/plugin-project-utils/compare/v0.0.6...v0.0.7) (2021-07-01)
358
-
359
- ### Features
360
-
361
- - support deploy file ([99b4a81](https://github.com/salesforcecli/plugin-project-utils/commit/99b4a81b1a844714233a30679ae267c6866ba4a2))
362
-
363
- ### [0.0.6](https://github.com/salesforcecli/plugin-project-utils/compare/v0.0.5...v0.0.6) (2021-06-28)
364
-
365
- ### Bug Fixes
366
-
367
- - allow empty log message ([1272215](https://github.com/salesforcecli/plugin-project-utils/commit/1272215b62a35e89072df2f02c1bab6c2999e056))
368
-
369
- ### [0.0.5](https://github.com/salesforcecli/plugin-project-utils/compare/v0.0.4...v0.0.5) (2021-06-28)
370
-
371
- ### Features
372
-
373
- - add Prompter class ([7f7861f](https://github.com/salesforcecli/plugin-project-utils/commit/7f7861f68dc74d815a1bf2d668edd719496524ff))
374
-
375
- ### [0.0.4](https://github.com/salesforcecli/plugin-project-utils/compare/v0.0.3...v0.0.4) (2021-06-28)
376
-
377
- ### Bug Fixes
378
-
379
- - update Options type ([f24a800](https://github.com/salesforcecli/plugin-project-utils/commit/f24a800409e026605f08717cd572e89afcdf35d0))
380
-
381
- ### [0.0.3](https://github.com/salesforcecli/plugin-project-utils/compare/v0.0.2...v0.0.3) (2021-06-28)
382
-
383
- ### Features
384
-
385
- - add Deployables class ([0405a6b](https://github.com/salesforcecli/plugin-project-utils/commit/0405a6bdc78cf44237e1bd51efb2199c275678ca))
386
-
387
- ### [0.0.2](https://github.com/salesforcecli/plugin-project-utils/compare/v0.0.1...v0.0.2) (2021-06-24)
388
-
389
- ### 0.0.1 (2021-06-24)
390
-
391
- ### Features
392
-
393
- - deployer interface ([fbfee1e](https://github.com/salesforcecli/plugin-project-utils/commit/fbfee1eb223c67ead31dfd6da65ed6d55c83015d))