提交 4eaf38c6 作者: Matt Bell 提交者: Juan Batiz-Benet

object: Added a synopsis

上级 d842c3c9
......@@ -26,7 +26,15 @@ 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.",
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{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论