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

x/lume/deps/cliffy.ts>Command#select

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
method Command.prototype.select
Re-export
import { Command } from "https://deno.land/x/lume@v1.14.1/deps/cliffy.ts";

Set internal command pointer to child command with given name.

Type Parameters

optional
TOptions extends Record<string, unknown> | void = any
optional
TArguments extends Array<unknown> = any
optional
TGlobalOptions extends Record<string, unknown> | void = any

Parameters

name: string

The name of the command to select.

Returns

Command<TParentCommandGlobals, TParentCommandTypes, TOptions, TArguments, TGlobalOptions, TCommandTypes, TCommandGlobalTypes, TParentCommand>