mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 09:34:03 +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{
|
||||
Helptext: cmds.HelpText{
|
||||
Tagline: "Interact with ipfs objects",
|
||||
ShortDescription: "'ipfs object' is a plumbing command used to manipulate DAG objects directly.",
|
||||
Tagline: "Interact with ipfs objects",
|
||||
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{
|
||||
|
Reference in New Issue
Block a user