package opam-client

  1. Overview
  2. Docs

Opam CLI main entry point

Commands

type command = unit Cmdliner.Term.t * Cmdliner.Term.info

Type of 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.t -> command * command list
OCaml

Innovation. Community. Security.