mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 17:36:38 +08:00
object: Added a synopsis
This commit is contained in:

committed by
Juan Batiz-Benet

parent
d842c3c98f
commit
4eaf38c6ba
@ -25,8 +25,16 @@ type Node struct {
|
|||||||
|
|
||||||
var objectCmd = &cmds.Command{
|
var objectCmd = &cmds.Command{
|
||||||
Helptext: cmds.HelpText{
|
Helptext: cmds.HelpText{
|
||||||
Tagline: "Interact with ipfs objects",
|
Tagline: "Interact with ipfs objects",
|
||||||
ShortDescription: "'ipfs object' is a plumbing command used to manipulate DAG objects directly.",
|
ShortDescription: `
|
||||||
|
'ipfs object' is a plumbing command used to manipulate DAG objects
|
||||||
|
directly.`,
|
||||||
|
Synopsis: `
|
||||||
|
ipfs object get <key> - Get the DAG node named by <key>
|
||||||
|
ipfs object put <data> <encoding> - Stores input, outputs its key
|
||||||
|
ipfs object data <key> - Outputs raw bytes in an object
|
||||||
|
ipfs object links <key> - Outputs links pointed to by object
|
||||||
|
`,
|
||||||
},
|
},
|
||||||
|
|
||||||
Subcommands: map[string]*cmds.Command{
|
Subcommands: map[string]*cmds.Command{
|
||||||
|
Reference in New Issue
Block a user