package opam-client

  1. Overview
  2. Docs

Opam CLI main entry point

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