@cryptotaxi247 / kubo / commits / bb85dd981

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

jbenet committed Dec 13, 2016 at 02:09 UTC bb85dd9815fb15d6599fd590d33a316b7520eca3
1 file changed +5
core/commands/root.go
+5
@@ -158,6 +158,11 @@ var rootROSubcommands = map[string]*cmds.Command{
158 "patch": ocmd.ObjectPatchCmd,
159 },
160 },
161 + "dag": &cmds.Command{
162 + Subcommands: map[string]*cmds.Command{
163 + "get": dag.DagGetCmd,
164 + },
165 + },
166 "refs": RefsROCmd,
167 "resolve": ResolveCmd,
168 "version": VersionCmd,