Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/program/command.ts>Command#command

command-line interface for deno programs.
Latest
method Command.prototype.command
import { Command } from "https://deno.land/x/program@0.1.6/command.ts";

Parameters

unnamed 0: { name: string; description: string; fn: CommandFunction; commands?: { [name: string]: Command; }; options?: { [name: string]: Option; }; args?: Argument[]; }