package irmin-unix

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Irmin_unix.CliSource

CLI commands.

Cmdliner commands.

Sourceval default : command

The default command: show a summary of the commands.

Sourceval commands : command list

List of available sub-commands.

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

Create a command-line tool with the given subcommands.

Command-builder helper

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

Subcommand.

Sourceval create_command : sub -> command

Build a subcommand.