* Optional handler to provide a raw result of the command. * Will be go called if '-j'/'--json' option is provided by user. * @param args - arguments object as defined in name. * @param flags - command flags as described in options. * @return a GenericObject to be rendered to string (by
(args: CLIArgs, flags: Flags)
| 100 | * @return a GenericObject to be rendered to string (by json.stringify) in the console. |
| 101 | */ |
| 102 | json?(args: CLIArgs, flags: Flags): Promise<GenericObject>; |
| 103 | } |
| 104 | export type Flags = { [flagName: string]: string | boolean | undefined }; |
| 105 | export type CLIArgs = Array<string[] | string>; |
no outgoing calls
no test coverage detected