Module RargInternal.CmdInternal
type run('a)
= ArgsMap.t => 'a
;
module StringMap = Seed.DataStructures.StringMap;
type children('a)
= StringMap.t(t('a))
;and t('a)
=
{
name: string,
version: string,
doc: option(string),
args: list((Args.t, Args.validate)),
run: run('a),
children: option(children('a)),
}
;
module Err: { ... };
module Validate: { ... };
module Sub: { ... };
module Action: { ... };
let getShell: RargInternal__ValidateArgs.value => Stdlib.result(Seed.Process.Shell.t, RargInternal__ValidateArgs.Err.t);
let getShell: RargInternal__ValidateArgs.value => Seed.Process.Shell.t;
let getSuggestionsShell: ArgsMap.t => option(Seed.Process.Shell.t);
let getCmdAction: t('a) => argsMap:ArgsMap.t => Stdlib.result(Action.t, Err.t);
gets the output action for a command without following its subcommands tree