package cmdlang-stdlib-runner
A basic execution runner for cmdlang based on stdlib.arg
Install
dune-project
Dependency
Authors
Maintainers
Sources
cmdlang-0.0.10.tbz
sha256=ca68da238799022810373d060bbd528d1de7687e8f8b4a89450c0bb33a41897d
sha512=7e223e3b02da4132f3638c83cad2b0b5bd3f672d777ad09a1d956db6bbed8d93b6125d754fcc0d970b16ac8150be08f9c3ae6a066868e2128351f9e049fefe53
doc/cmdlang-stdlib-runner/Cmdlang_stdlib_runner/index.html
Module Cmdlang_stdlib_runner
Source
An execution engine for cmdlang
based on stdlib.arg
.
Source
val eval :
'a Cmdlang.Command.t ->
argv:string array ->
('a, [ `Help of string | `Bad of string ]) Result.t
Low level implementation
This modules should not be used directly by the users of the runner, but only through the run
and eval
functions. They are exposed if you want to re-use some existing code to build your own runner.
Internal representation used to run a parser.
Internal representation for cmdlang arg expressions used during parsing.
Selecting a command within a group hierarchy.
Parsing parameters according to their specification.
A mutable state that will collect parsing information.
A mutable state that will collect parsing information for positional arguments.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page