opam-client

Client library for opam 2.1
Module OpamCommands

Commands

val is_builtin_command : string -> bool

is_builtin_command arg is true if arg is a prefix of any built-in command

val is_admin_subcommand : string -> bool

is_admin_subcommand arg is true if arg is a unique prefix of the admin sub-command.

val get_cmdliner_parser : OpamCLIVersion.Sourced.t -> OpamArg.command * OpamArg.command list