all repos — cmd @ b09b5886d479dc11c1aa1e0c0caabebb8f8e6b0c

Unnamed repository; edit this file 'description' to name the repository.

src/types.ts (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
export type Prettify<T> = {
  [K in keyof T]: T[K];
} & {};

export type FlagOptions = {
  description?: string;
  short?: string;
  default?: boolean;
};

export type ArgumentOptions<TType> = {
  description?: string;
  type: TType;
  required?: boolean;
  short?: string;
};