Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/argon2/cli/deps.ts>Command#versionOption

Argon2 encryption library for Deno
Latest
method Command.prototype.versionOption
Re-export
import { Command } from "https://deno.land/x/argon2@v0.9.2/cli/deps.ts";

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, PG, P> & { 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, PG, P>

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, PG, P>

The action of the version option.