Module

x/cliffy/mod.ts>Command#getOptionAction

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

Returns the action or undefined of the given option.

Parameters

name: string

Option name.

Returns

IAction<O, A> | undefined