Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/opinecli/deps.ts>Command#parse

Opine's application generator
Latest
method Command.prototype.parse
Re-export
import { Command } from "https://deno.land/x/opinecli@2.0.0/deps.ts";

Parse command line arguments and execute matched command.

Parameters

optional
args: string[] = [UNSUPPORTED]

Command line args to parse. Ex: cmd.parse( Deno.args )

Returns

Promise<IParseResult<CO, CA, CG, PG, P>>