package dockerfile

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

Command-line helper functions for scripts using Dockerfile_opam

val cmd : name:string -> version:string -> summary:string -> manual:string -> default_dir:string -> generate:(string -> 'a) -> 'a Cmdliner.Term.t * Cmdliner.Term.info

This generate a Cmdliner term with various defaults filled in for the manual page, and a default term that specifies an output directory.

val run : ('a Cmdliner.Term.t * Cmdliner.Term.info) -> 'b

run executes the term that results from cmd and returns with a non-zero exit code if there is an error.

OCaml

Innovation. Community. Security.