Skip to main content
Module

x/line/mod.ts>Interfaces.IOption

A class-based, command-line interface (CLI) framework.
Latest
interface Interfaces.IOption
import { type Interfaces } from "https://deno.land/x/line@v1.0.1/mod.ts";
const { IOption } = Interfaces;

The representation of an option during runtime.

Properties

description: string

The option's description.

signatures: string[]

A comma-delimited list of the option's signatures.

takes_value: boolean

Does this option take in a value?

optional
value: boolean | string

The option's value. Initially set to false and set to true if provided through the command line. Value is the provided value through the command line if this option takes in a value.