Skip to content

Commit

Permalink
commands/object: add comment
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
  • Loading branch information
overbool committed Oct 27, 2018
1 parent f0da3fb commit aeedabc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/commands/object/object.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ directly.`,
},
}

// ObjectDataCmd object data command
var ObjectDataCmd = &cmds.Command{
Helptext: cmdkit.HelpText{
Tagline: "Output the raw bytes of an IPFS object.",
Expand Down Expand Up @@ -95,6 +96,7 @@ is the raw data of the object.
},
}

// ObjectLinksCmd object links command
var ObjectLinksCmd = &cmds.Command{
Helptext: cmdkit.HelpText{
Tagline: "Output the links pointed to by the specified object.",
Expand Down Expand Up @@ -166,6 +168,7 @@ multihash.
Type: &Object{},
}

// ObjectGetCmd object get command
var ObjectGetCmd = &cmds.Command{
Helptext: cmdkit.HelpText{
Tagline: "Get and serialize the DAG node named by <key>.",
Expand Down Expand Up @@ -271,6 +274,7 @@ Supported values are:
},
}

// ObjectStatCmd object stat command
var ObjectStatCmd = &cmds.Command{
Helptext: cmdkit.HelpText{
Tagline: "Get stats for the DAG node named by <key>.",
Expand Down Expand Up @@ -333,6 +337,7 @@ var ObjectStatCmd = &cmds.Command{
},
}

// ObjectPutCmd object put command
var ObjectPutCmd = &cmds.Command{
Helptext: cmdkit.HelpText{
Tagline: "Store input as a DAG object, print its key.",
Expand Down Expand Up @@ -433,6 +438,7 @@ And then run:
Type: Object{},
}

// ObjectNewCmd object new command
var ObjectNewCmd = &cmds.Command{
Helptext: cmdkit.HelpText{
Tagline: "Create a new object from an ipfs template.",
Expand Down

0 comments on commit aeedabc

Please sign in to comment.