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

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

An application installer for restriced macOS
Latest
method cliffy.Command.prototype.select
Re-export
import { cliffy } from "https://deno.land/x/alloy@v0.0.9/deps.ts";
const { Command } = cliffy;

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<CPG, CPT, O, A, G, CT, CGT, CP>