From bb85dd9815fb15d6599fd590d33a316b7520eca3 Mon Sep 17 00:00:00 2001 From: jbenet Date: Tue, 13 Dec 2016 02:09:35 -0800 Subject: [PATCH] dag get should be a read only command added CmdDagGet to the read only command set. tried to add a test, but dag get needs tests in general License: MIT Signed-off-by: Juan Batiz-Benet --- core/commands/root.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/commands/root.go b/core/commands/root.go index 7070a2d27ec..93687c37ef4 100644 --- a/core/commands/root.go +++ b/core/commands/root.go @@ -158,6 +158,11 @@ var rootROSubcommands = map[string]*cmds.Command{ "patch": ocmd.ObjectPatchCmd, }, }, + "dag": &cmds.Command{ + Subcommands: map[string]*cmds.Command{ + "get": dag.DagGetCmd, + }, + }, "refs": RefsROCmd, "resolve": ResolveCmd, "version": VersionCmd,