package tezt-tezos

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

Module Tezt_tezos.Cli_argSource

Sourceval optional_switch : string -> bool -> string list

optional_switch "flag" b is ["--flag"] if b is true, otherwise []

Sourceval optional_arg : string -> ('a -> string) -> 'a option -> string list

optional_arg "arg" f opt_v is ["--arg"; f x] if opt_v is Some v, otherwise []

OCaml

Innovation. Community. Security.