Skip to main content
Module

x/mod/deps.ts>Command#parse

Simple Command Line Interface to create Deno module entrypoints, CI, config and more.
Latest
method Command.prototype.parse
Re-export
import { Command } from "https://deno.land/x/mod@v2.3.9/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>>