mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-02 20:32:58 +08:00
Merge pull request #3499 from ipfs/dag-get-ro
dag get should be a read only command
This commit is contained in:
@ -158,6 +158,11 @@ var rootROSubcommands = map[string]*cmds.Command{
|
|||||||
"patch": ocmd.ObjectPatchCmd,
|
"patch": ocmd.ObjectPatchCmd,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"dag": &cmds.Command{
|
||||||
|
Subcommands: map[string]*cmds.Command{
|
||||||
|
"get": dag.DagGetCmd,
|
||||||
|
},
|
||||||
|
},
|
||||||
"refs": RefsROCmd,
|
"refs": RefsROCmd,
|
||||||
"resolve": ResolveCmd,
|
"resolve": ResolveCmd,
|
||||||
"version": VersionCmd,
|
"version": VersionCmd,
|
||||||
|
Reference in New Issue
Block a user