package catala

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

Helper functions used by top-level commands

val get_output : ?ext:string -> Catala_utils.Cli.options -> Catala_utils.Cli.raw_file option -> string option * ((out_channel -> 'a) -> 'a)

bounded open of the expected output file

val get_output_format : ?ext:string -> Catala_utils.Cli.options -> Catala_utils.Cli.raw_file option -> string option * ((Format.formatter -> 'a) -> 'a)
val get_scope_uid : Shared_ast.decl_ctx -> string -> Shared_ast.ScopeName.t
val commands : unit Cmdliner.Cmd.t list

The list of built-in catala subcommands, as expected by Cmdliner.Cmd.group