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

x/denomander/docs.ts>PublicAPI

Deno command-line interfaces made easy
Latest
interface PublicAPI
import { type PublicAPI } from "https://deno.land/x/denomander@0.9.3/docs.ts";

The methods that must be implemented for public api

Methods

option(value: string, description: string): Denomander
requiredOption(value: string, description: string): Denomander
command(value: string, description?: string): Denomander
description(description: string): Denomander
action(callback: Function): Denomander
on(arg: string, callback: Function): Denomander
parse(args: Array<string>): void