2016-09-08 21:13:10 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2018-02-06 00:17:03 +04:00
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
2016-09-08 21:13:10 +04:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2018-02-14 18:20:03 +04:00
|
|
|
open Client_context
|
2018-02-11 22:17:40 +04:00
|
|
|
|
2018-02-16 21:10:18 +04:00
|
|
|
type command = full Cli_entries.command
|
2016-09-08 21:13:10 +04:00
|
|
|
|
|
|
|
exception Version_not_found
|
|
|
|
|
|
|
|
val register: Protocol_hash.t -> command list -> unit
|
|
|
|
val commands_for_version: Protocol_hash.t -> command list
|
|
|
|
val get_versions: unit -> (Protocol_hash.t * (command list)) list
|