clerc 1.0.0-beta.27 → 1.0.0-beta.28

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -3
  2. package/package.json +8 -8
package/dist/index.d.ts CHANGED
@@ -152,9 +152,13 @@ interface HelpPluginOptions {
152
152
  */
153
153
  examples?: [string, string][];
154
154
  /**
155
- * A banner to show before the help output.
155
+ * Header to show before the help output.
156
156
  */
157
- banner?: string;
157
+ header?: string;
158
+ /**
159
+ * Footer to show after the help output.
160
+ */
161
+ footer?: string;
158
162
  /**
159
163
  * Custom formatters for rendering help.
160
164
  */
@@ -173,7 +177,8 @@ declare const helpPlugin: ({
173
177
  showHelpWhenNoCommandSpecified,
174
178
  notes,
175
179
  examples,
176
- banner,
180
+ header,
181
+ footer,
177
182
  formatters,
178
183
  groups
179
184
  }?: HelpPluginOptions) => Plugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clerc",
3
- "version": "1.0.0-beta.27",
3
+ "version": "1.0.0-beta.28",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve)",
5
5
  "type": "module",
6
6
  "description": "Clerc: The full-featured cli library.",
@@ -44,12 +44,12 @@
44
44
  "access": "public"
45
45
  },
46
46
  "dependencies": {
47
- "@clerc/plugin-friendly-error": "1.0.0-beta.27",
48
- "@clerc/plugin-not-found": "1.0.0-beta.27",
49
- "@clerc/plugin-strict-flags": "1.0.0-beta.27",
50
- "@clerc/core": "1.0.0-beta.27",
51
- "@clerc/plugin-help": "1.0.0-beta.27",
52
- "@clerc/plugin-version": "1.0.0-beta.27",
53
- "@clerc/plugin-completions": "1.0.0-beta.27"
47
+ "@clerc/core": "1.0.0-beta.28",
48
+ "@clerc/plugin-help": "1.0.0-beta.28",
49
+ "@clerc/plugin-completions": "1.0.0-beta.28",
50
+ "@clerc/plugin-friendly-error": "1.0.0-beta.28",
51
+ "@clerc/plugin-not-found": "1.0.0-beta.28",
52
+ "@clerc/plugin-strict-flags": "1.0.0-beta.28",
53
+ "@clerc/plugin-version": "1.0.0-beta.28"
54
54
  }
55
55
  }