Catala_utils.Cli
val languages : (string * Global.backend_lang) list
val language_code : Global.backend_lang -> string
Returns the lowercase two-letter language code
val file_lang : Global.file -> Global.backend_lang
Associates a file extension with its corresponding Global.backend_lang
string representation.
val when_opt : Global.when_enum Cmdliner.Arg.conv
module Flags : sig ... end
Name of the manpage section for debugging commands (use as ~docs
arg to Arg.info
)
Exit with a specific exit code (but less brutally than Sys.exit
which would bypass all finalisers)
val exec_dir : Global.file
Returns the directory of the currently running executable