import { Command } from "https://deno.land/x/opinecli@2.0.0/deps.ts";
Add a new option.
Parameters
Flags string like: -h, --help, --manual requiredArg:string [optionalArg: number] [...restArgs:string]
opts: ICommandOption<Partial<CO>, CA, Merge<CG, MapOptionTypes<G>>, PG, P> & { global: true; } | IFlagValueHandler
Flag options or custom handler for processing flag value.
Parameters
optional
opts: ICommandOption<Merge<CO, MapOptionTypes<O>>, CA, CG, PG, P> | IFlagValueHandler