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#versionOption

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

Disable version option.

Parameters

enable: false

Set global version option.

Parameters

flags: string

The flags of the version option.

optional
desc: string

The description of the version option.

optional
opts: ICommandOption<Partial<CO>, CA, CG, CPG, CT, CGT, CPT, CP> & { global: true; }

Version option options.

Set version option.

Parameters

flags: string

The flags of the version option.

optional
desc: string

The description of the version option.

optional
opts: ICommandOption<CO, CA, CG, CPG, CT, CGT, CPT, CP>

Version option options.

Set version option.

Parameters

flags: string

The flags of the version option.

optional
desc: string

The description of the version option.

optional
opts: IAction<CO, CA, CG, CPG, CT, CGT, CPT, CP>

The action of the version option.