Module RargInternal.ArgsMap
type argType
=
;|
Short(string)
|
Long(string)
|
Dash
|
Value(string)
type optionType
=
;|
Short(string)
|
Long(string)
|
Dash
module StringMap = Seed.DataStructures.StringMap;
type t
= StringMap.t(array(string))
;
let positionalsKey: string;
let dashKey: string;
let suggestionsRequestKey: string;
let suggestionsScriptKey: string;
let addPathKey: string;
let removePathKey: string;
let helpKey: string;
let versionKey: string;
let getOpt: StringMap.key => t => option(array(string));
let getEither: t => name:string => alias:option(string) => option(array(string));
let hasHelp: t => bool;
let hasVersion: t => bool;
let hasAddPath: t => bool;
let hasRemovePath: t => bool;
let hasSuggestionsScript: t => bool;
let getPositionals: t => option(array(string));
let toList: t => list((string, array(string)));
let set: t => key:string => value:array(string) => t;
let setPositionals: t => value:array(string) => t;
let deletePositionals: t => t;
let getArgType: string => argType;
let revTakeUntilOption: array(string) => n:int => (int, option(optionType));
let ofArray: array(string) => t;
performs right to left parsing of arguments and options