Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

A simple but powerful TypeScript-based dot-file manager.
Go to Latest
method cliffy.Command.prototype.select
Re-export
import { cliffy } from "https://deno.land/x/powar@1.0.1/deps.ts";
const { Command } = cliffy;

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>