Skip to main content
Module

x/denomander/src/utils/detect.ts

Deno command-line interfaces made easy
Latest
import * as denomander from "https://deno.land/x/denomander@0.9.3/src/utils/detect.ts";

Functions

It detects if there are default options (--help, --version) in arguments

It detects if on of the given args, is included in the given array of Commands.

Detects if arg is in pre-defined options

Detects if there are available required options

It detects if on of the given args, is included in the given array of Commands.

It detects if the given command is in the arguments

It detects if there are no arguments

It detects if the given command is in the arguments

Detects if option is in args

Detects if a strign contains brackets

Detects if a strign contains curly brackets

Detects if a strign contains curly brackets