Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/actionify/src/deps/cli.ts>Command#hasOption

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
method Command.prototype.hasOption
Re-export
import { Command } from "https://deno.land/x/actionify@0.3.0/src/deps/cli.ts";

Checks whether the command has an option with given name or not.

Parameters

name: string

Name of the option. Must be in param-case.

optional
hidden: boolean

Include hidden options.

Returns

boolean