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

x/cliffy/command/command.ts>Command#select

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

Set internal command pointer to child command with given name.

Type Parameters

optional
O extends Record<string, unknown> | void = any
optional
A extends Array<unknown> = any
optional
G extends Record<string, unknown> | void = any

Parameters

name: string

The name of the command to select.

Returns

Command<O, A, G, PG, P>