ArgumentsOf

type
type ArgumentsOf = T extends (args: any[]) => CLI<infer TArgs>
  ? Expand<TArgs>
  : never;

Resolves the arguments added to a CLI instance by a builder function. Useful
for typing the arguments of a command handler when using composable builders.