mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 09:59:13 +08:00
Alphabetized subcommands
License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
This commit is contained in:
@ -47,24 +47,24 @@ var ObjectCmd = &cmds.Command{
|
|||||||
'ipfs object' is a plumbing command used to manipulate DAG objects
|
'ipfs object' is a plumbing command used to manipulate DAG objects
|
||||||
directly.`,
|
directly.`,
|
||||||
Synopsis: `
|
Synopsis: `
|
||||||
ipfs object get <key> - Get the DAG node named by <key>
|
|
||||||
ipfs object put <data> - Stores input, outputs its key
|
|
||||||
ipfs object data <key> - Outputs raw bytes in an object
|
ipfs object data <key> - Outputs raw bytes in an object
|
||||||
|
ipfs object get <key> - Get the DAG node named by <key>
|
||||||
ipfs object links <key> - Outputs links pointed to by object
|
ipfs object links <key> - Outputs links pointed to by object
|
||||||
ipfs object stat <key> - Outputs statistics of object
|
|
||||||
ipfs object new <template> - Create new ipfs objects
|
ipfs object new <template> - Create new ipfs objects
|
||||||
ipfs object patch <args> - Create new object from old ones
|
ipfs object patch <args> - Create new object from old ones
|
||||||
|
ipfs object put <data> - Stores input, outputs its key
|
||||||
|
ipfs object stat <key> - Outputs statistics of object
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
|
|
||||||
Subcommands: map[string]*cmds.Command{
|
Subcommands: map[string]*cmds.Command{
|
||||||
"data": ObjectDataCmd,
|
"data": ObjectDataCmd,
|
||||||
"links": ObjectLinksCmd,
|
|
||||||
"get": ObjectGetCmd,
|
"get": ObjectGetCmd,
|
||||||
"put": ObjectPutCmd,
|
"links": ObjectLinksCmd,
|
||||||
"stat": ObjectStatCmd,
|
|
||||||
"new": ObjectNewCmd,
|
"new": ObjectNewCmd,
|
||||||
"patch": ObjectPatchCmd,
|
"patch": ObjectPatchCmd,
|
||||||
|
"put": ObjectPutCmd,
|
||||||
|
"stat": ObjectStatCmd,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user