package dockerfile

  1. Overview
  2. Docs
Typed interface for constructing Docker container descriptions

Install

Dune Dependency

Authors

Maintainers

Sources

dockerfile-2.2.1.tbz
sha256=2fa15cad381c194ee076c3833f89d318418eb96aeed98d07f2a85fc4828c0dec
md5=1c476efd74bd1eb6d2c28edd7a7cd815

doc/dockerfile.opam-cmdliner/Dockerfile_opam_cmdliner/index.html

Module Dockerfile_opam_cmdliner

Command-line helper functions for scripts using Dockerfile_opam

val cmd : name:string -> version:string -> summary:string -> manual:string -> default_dir:string -> generate:(opam_version:string -> output_dir: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.