Skip to main content
Module

x/dmm/deps.ts>Line.Interfaces.IOption

Lightweight Deno Module Manager
Latest
interface Line.Interfaces.IOption
import { type Line } from "https://deno.land/x/dmm@v2.1.2/deps.ts";
const { IOption } = Line.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.