1
0
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:
Matt Bell
2014-11-13 23:23:53 -08:00
committed by Juan Batiz-Benet
parent d842c3c98f
commit 4eaf38c6ba

View File

@ -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{