2016-09-08 19:13:10 +02:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2018-02-05 21:17:03 +01:00
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
2016-09-08 19:13:10 +02:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2018-02-14 15:20:03 +01:00
|
|
|
open Client_context
|
2018-02-11 19:17:40 +01:00
|
|
|
|
2018-02-16 18:10:18 +01:00
|
|
|
type command = full Cli_entries.command
|
2016-09-08 19:13:10 +02: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
|