@salesforce/sf-plugins-core 1.5.2 → 1.5.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
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
4
 
5
+ ### [1.5.3](https://github.com/salesforcecli/sf-plugins-core/compare/v1.5.2...v1.5.3) (2022-03-08)
6
+
7
+ ### Bug Fixes
8
+
9
+ - expose styledHeader as func in sf command ([fd2dc48](https://github.com/salesforcecli/sf-plugins-core/commit/fd2dc48444be224a884c3b56d5604f4b854f1c0e))
10
+
5
11
  ### [1.5.2](https://github.com/salesforcecli/sf-plugins-core/compare/v1.5.1...v1.5.2) (2022-03-07)
6
12
 
7
13
  ### Bug Fixes
@@ -62,6 +62,10 @@ export declare abstract class SfCommand<T> extends Command {
62
62
  * Log stylized object to the console. Will automatically be suppressed when --json flag is present.
63
63
  */
64
64
  styledObject(obj: AnyJson): void;
65
+ /**
66
+ * Log stylized header to the console. Will automatically be suppressed when --json flag is present.
67
+ */
68
+ styledHeader(text: string): void;
65
69
  /**
66
70
  * Prompt user for information. See https://www.npmjs.com/package/inquirer for more.
67
71
  *
package/lib/sfCommand.js CHANGED
@@ -91,6 +91,12 @@ class SfCommand extends core_1.Command {
91
91
  styledObject(obj) {
92
92
  this.ux.styledObject(obj);
93
93
  }
94
+ /**
95
+ * Log stylized header to the console. Will automatically be suppressed when --json flag is present.
96
+ */
97
+ styledHeader(text) {
98
+ this.ux.styledHeader(text);
99
+ }
94
100
  /**
95
101
  * Prompt user for information. See https://www.npmjs.com/package/inquirer for more.
96
102
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/sf-plugins-core",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Utils for writing deploy and retrieve plugins",
5
5
  "main": "lib/exported",
6
6
  "types": "lib/exported.d.ts",