all repos — cmd @ 29e71759b50f978da98910e4c407af1e68b79f39

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;
};