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

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

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

Set command version.

Parameters

version: string | VersionHandler<Partial<TCommandOptions>, Partial<TCommandArguments>, TCommandGlobals, TParentCommandGlobals, TCommandTypes, TCommandGlobalTypes, TParentCommandTypes, TParentCommand>

Semantic version string string or method that returns the version string.