Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/alloy_folk/deps.ts>cliffy.Command#parse

An application installer for restriced macOS
Latest
method cliffy.Command.prototype.parse
Re-export
import { cliffy } from "https://deno.land/x/alloy_folk@v1.1.2/deps.ts";
const { Command } = cliffy;

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<CP extends Command<any> ? IParseResult<Record<string, unknown>, Array<unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, undefined> : IParseResult<MapTypes<CO>, MapTypes<CA>, MapTypes<CG>, MapTypes<CPG>, CT, CGT, CPT, CP>>