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

x/habitra/deps.ts>Command#select

Command line tool for HabiTra
Latest
method Command.prototype.select
Re-export
import { Command } from "https://deno.land/x/habitra@v0.3.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<CPG, CPT, O, A, G, CT, CGT, CP>