@oclif/core 3.0.0-beta.14 → 3.0.0-beta.15

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.
@@ -5,11 +5,11 @@ export declare namespace table {
5
5
  columns: Interfaces.OptionFlag<string | undefined>;
6
6
  sort: Interfaces.OptionFlag<string | undefined>;
7
7
  filter: Interfaces.OptionFlag<string | undefined>;
8
- csv: Interfaces.Flag<boolean>;
8
+ csv: Interfaces.BooleanFlag<boolean>;
9
9
  output: Interfaces.OptionFlag<string | undefined>;
10
- extended: Interfaces.Flag<boolean>;
11
- 'no-truncate': Interfaces.Flag<boolean>;
12
- 'no-header': Interfaces.Flag<boolean>;
10
+ extended: Interfaces.BooleanFlag<boolean>;
11
+ 'no-truncate': Interfaces.BooleanFlag<boolean>;
12
+ 'no-header': Interfaces.BooleanFlag<boolean>;
13
13
  };
14
14
  type IFlags = typeof Flags;
15
15
  type ExcludeFlags<T, Z> = Pick<T, Exclude<keyof T, Z>>;
@@ -210,7 +210,7 @@ export type OptionFlagProps = FlagProps & {
210
210
  export type FlagParserContext = Command & {
211
211
  token: FlagToken;
212
212
  };
213
- export type FlagParser<T, I extends string | boolean, P = CustomOptions> = (input: I, context: FlagParserContext, opts: P & OptionFlag<T, P>) => T extends Array<infer U> ? Promise<U> : Promise<T>;
213
+ export type FlagParser<T, I extends string | boolean, P = CustomOptions> = (input: I, context: FlagParserContext, opts: P & OptionFlag<T, P>) => T extends Array<infer U> ? Promise<U | undefined> : Promise<T | undefined>;
214
214
  export type ArgParserContext = Command & {
215
215
  token: ArgToken;
216
216
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/core",
3
3
  "description": "base library for oclif CLIs",
4
- "version": "3.0.0-beta.14",
4
+ "version": "3.0.0-beta.15",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {