Skip to content

Commit

Permalink
Alphabetized subcommands
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
  • Loading branch information
RichardLitt authored and hackergrrl committed Mar 24, 2016
1 parent 6da712a commit 8f6d093
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions core/commands/object/object.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,24 @@ var ObjectCmd = &cmds.Command{
'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> - Stores input, outputs its key
ipfs object data <key> - Outputs raw bytes in an object
ipfs object get <key> - Get the DAG node named by <key>
ipfs object links <key> - Outputs links pointed to by object
ipfs object stat <key> - Outputs statistics of object
ipfs object new <template> - Create new ipfs objects
ipfs object patch <args> - Create new object from old ones
ipfs object put <data> - Stores input, outputs its key
ipfs object stat <key> - Outputs statistics of object
`,
},

Subcommands: map[string]*cmds.Command{
"data": ObjectDataCmd,
"links": ObjectLinksCmd,
"get": ObjectGetCmd,
"put": ObjectPutCmd,
"stat": ObjectStatCmd,
"links": ObjectLinksCmd,
"new": ObjectNewCmd,
"patch": ObjectPatchCmd,
"put": ObjectPutCmd,
"stat": ObjectStatCmd,
},
}

Expand Down

0 comments on commit 8f6d093

Please sign in to comment.