Module Irmin_cli

CLI commands.

type command = unit Cmdliner.Term.t * Cmdliner.Term.info

Cmdliner commands.

val default : command

The default command: show a summary of the commands.

val commands : command list

List of available sub-commands.

val run : default:command -> command list -> unit

Create a command-line tool with the given subcommands.

Command-builder helper

type sub = {
  1. name : string;
  2. doc : string;
  3. man : Cmdliner.Manpage.block list;
  4. term : unit Cmdliner.Term.t;
}

Subcommand.

val create_command : sub -> command

Build a subcommand.

module Resolver : sig ... end

Irmin store resolver.