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

x/line/src/command.ts>Command#argument

A class-based, command-line interface (CLI) framework.
Latest
method Command.prototype.argument
import { Command } from "https://deno.land/x/line@v1.0.1/src/command.ts";

Get the value of the specified argument.

Parameters

argumentName: string
  • The argument in question.

Returns

string | undefined

The value of the argument in the command line or undefined if the argument does not exist.