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

x/opinecli/deps.ts>Command#select

Opine's application generator
Latest
method Command.prototype.select
Re-export
import { Command } from "https://deno.land/x/opinecli@2.0.0/deps.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>