@oauth2-cli/qui-cli 1.0.0 → 1.0.1

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,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [1.0.1](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/1.0.0...qui-cli-plugin/1.0.1) (2026-02-20)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * do not suppress scope by default ([d87d910](https://github.com/battis/oauth2-cli/commit/d87d910765c3b93fd150aad8fc417848531f1675))
11
+ * use name in usage section heading if no heading configured ([7271d53](https://github.com/battis/oauth2-cli/commit/7271d5315bbb8f0f38864201fe45a70541c8b165))
12
+
5
13
  ## [1.0.0](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.7.16...qui-cli-plugin/1.0.0) (2026-02-20)
6
14
 
7
15
  ### ⚠ BREAKING CHANGES
@@ -65,7 +65,7 @@ export declare class OAuth2Plugin<C extends OAuth2CLI.Credentials = OAuth2CLI.Cr
65
65
  /** Configured client base_url */
66
66
  private base_url?;
67
67
  /** Configured usage information */
68
- private man;
68
+ private man?;
69
69
  /** Configured reference URLs for credentials */
70
70
  private url?;
71
71
  /** Configured hint values for credentials */
@@ -25,9 +25,7 @@ export class OAuth2Plugin {
25
25
  /** Configured client base_url */
26
26
  base_url;
27
27
  /** Configured usage information */
28
- man = {
29
- heading: 'OAuth 2.0 / Open ID Connect client options'
30
- };
28
+ man = undefined;
31
29
  /** Configured reference URLs for credentials */
32
30
  url = undefined;
33
31
  /** Configured hint values for credentials */
@@ -46,9 +44,7 @@ export class OAuth2Plugin {
46
44
  scope: 'SCOPE'
47
45
  };
48
46
  /** Configured credentials to suppress in usage and init */
49
- suppress = {
50
- scope: true
51
- };
47
+ suppress = undefined;
52
48
  /** Configured request components for client to inject */
53
49
  inject = undefined;
54
50
  /** Configured {@link OAuth2CLI.Localhost.Options} to pass to client */
@@ -207,7 +203,10 @@ export class OAuth2Plugin {
207
203
  };
208
204
  return {
209
205
  man: [
210
- { level: 1, text: this.man.heading },
206
+ {
207
+ level: 1,
208
+ text: this.man?.heading || `${this.overrideName || this.name} options`
209
+ },
211
210
  ...Object.keys(descriptions)
212
211
  .filter((key) => !this.suppress || !this.suppress[key])
213
212
  .map((key) => ({
@@ -217,7 +216,7 @@ export class OAuth2Plugin {
217
216
  ? ` See ${Colors.url(this.url[key])} for more information.`
218
217
  : '')
219
218
  })),
220
- ...(this.man.text || []).map((t) => ({ text: t }))
219
+ ...(this.man?.text || []).map((t) => ({ text: t }))
221
220
  ]
222
221
  };
223
222
  }
@@ -65,7 +65,7 @@ export declare class OAuth2Plugin<C extends OAuth2CLI.Credentials = OAuth2CLI.Cr
65
65
  /** Configured client base_url */
66
66
  private base_url?;
67
67
  /** Configured usage information */
68
- private man;
68
+ private man?;
69
69
  /** Configured reference URLs for credentials */
70
70
  private url?;
71
71
  /** Configured hint values for credentials */
@@ -25,9 +25,7 @@ export class OAuth2Plugin {
25
25
  /** Configured client base_url */
26
26
  base_url;
27
27
  /** Configured usage information */
28
- man = {
29
- heading: 'OAuth 2.0 / Open ID Connect client options'
30
- };
28
+ man = undefined;
31
29
  /** Configured reference URLs for credentials */
32
30
  url = undefined;
33
31
  /** Configured hint values for credentials */
@@ -46,9 +44,7 @@ export class OAuth2Plugin {
46
44
  scope: 'SCOPE'
47
45
  };
48
46
  /** Configured credentials to suppress in usage and init */
49
- suppress = {
50
- scope: true
51
- };
47
+ suppress = undefined;
52
48
  /** Configured request components for client to inject */
53
49
  inject = undefined;
54
50
  /** Configured {@link OAuth2CLI.Localhost.Options} to pass to client */
@@ -207,7 +203,10 @@ export class OAuth2Plugin {
207
203
  };
208
204
  return {
209
205
  man: [
210
- { level: 1, text: this.man.heading },
206
+ {
207
+ level: 1,
208
+ text: this.man?.heading || `${this.overrideName || this.name} options`
209
+ },
211
210
  ...Object.keys(descriptions)
212
211
  .filter((key) => !this.suppress || !this.suppress[key])
213
212
  .map((key) => ({
@@ -217,7 +216,7 @@ export class OAuth2Plugin {
217
216
  ? ` See ${Colors.url(this.url[key])} for more information.`
218
217
  : '')
219
218
  })),
220
- ...(this.man.text || []).map((t) => ({ text: t }))
219
+ ...(this.man?.text || []).map((t) => ({ text: t }))
221
220
  ]
222
221
  };
223
222
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oauth2-cli/qui-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "@qui-cli/plugin wrapper for oauth2-cli",
5
5
  "homepage": "https://github.com/battis/oauth2-cli/tree/main/packages/qui-cli#readme",
6
6
  "repository": {