Skip to content

Instantly share code, notes, and snippets.

@jdx
Last active March 1, 2018 20:56
Show Gist options
  • Save jdx/ef62192cfc4bf8cabc8b8fa9425a0db1 to your computer and use it in GitHub Desktop.
Save jdx/ef62192cfc4bf8cabc8b8fa9425a0db1 to your computer and use it in GitHub Desktop.
parse override
protected parse<F, A extends {[name: string]: any}>(options: Parser.Input<F>, argv = this.argv): Parser.Output<F, A> {
const {flags, args, strict} = options
return require('@oclif/parser').parse(argv, {context: this, flags, args, strict})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment