package cmdlang
Declarative Command-line Parsing for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
cmdlang-0.0.10.tbz
sha256=ca68da238799022810373d060bbd528d1de7687e8f8b4a89450c0bb33a41897d
sha512=7e223e3b02da4132f3638c83cad2b0b5bd3f672d777ad09a1d956db6bbed8d93b6125d754fcc0d970b16ac8150be08f9c3ae6a066868e2128351f9e049fefe53
doc/cmdlang.ast/Cmdlang_ast/Ast/index.html
Module Cmdlang_ast.Ast
Source
The internal representation for the EDSL used by the cmdlang library.
Cmdlang doesn't include an execution engine. Instead, Cmdlang parsers are automatically translated to `cmdliner`, `core.command`, or `climate` commands for execution.
When you use the cmdlang library to define a command-line interface, you are effectively building a value of type Cmdlang_ast.Ast.Command.t
. It is then converted internally to the targeted backend.
This module is not meant to be used directly by users of the library. Rather, users use the Cmdlang.Command
interface which provides a high-level API meant to be ergonomic and user-friendly.
Cmdlang_ast
is exposed to allow extending the library with new backends or to write analysis tools, etc.
type 'a of_string := string -> 'a or_error_msg
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>