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

x/cliffy/command.ts>BaseCommand#parse

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method BaseCommand.prototype.parse
Re-export
import { BaseCommand } from "https://deno.land/x/cliffy@v0.5.1/command.ts";

Parse command line arguments and execute matched command.

Parameters

args: string[]

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

optional
dry: boolean

Execute command after parsed.