@optique/core
Version:
Type-safe combinatorial command-line interface parser
8 lines (7 loc) • 945 B
JavaScript
import { formatMessage, message, metavar, optionName, optionNames, text, value, values } from "./message.js";
import { formatUsage, formatUsageTerm, normalizeUsage } from "./usage.js";
import { formatDocPage } from "./doc.js";
import { choice, float, integer, isValueParser, locale, string, url, uuid } from "./valueparser.js";
import { argument, command, concat, constant, flag, getDocPage, group, longestMatch, map, merge, multiple, object, option, optional, or, parse, tuple, withDefault } from "./parser.js";
import { RunError, run } from "./facade.js";
export { RunError, argument, choice, command, concat, constant, flag, float, formatDocPage, formatMessage, formatUsage, formatUsageTerm, getDocPage, group, integer, isValueParser, locale, longestMatch, map, merge, message, metavar, multiple, normalizeUsage, object, option, optionName, optionNames, optional, or, parse, run, string, text, tuple, url, uuid, value, values, withDefault };