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

x/hex/src/lib/cli/mod.ts>Command

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
interface Command
Re-export
import { type Command } from "https://deno.land/x/hex@0.6.5/src/lib/cli/mod.ts";

Properties

name: string
optional
shortcut: string
description: string
optional
isDefault: boolean
optional
defaultValue: string | boolean
optional
valueType: ValueType
optional
subcommands: Command[]
optional
run: (
args: string[],
options: Record<string, string>,
executeOptions: ExecuteOptions,
) => void