Skip to content

Commit

Permalink
Merge pull request #2471 from ipfs/feature/alphabetize-object
Browse files Browse the repository at this point in the history
Alphabetized object subcommands
  • Loading branch information
whyrusleeping committed Mar 22, 2016
2 parents 6da712a + c692286 commit 2b6da0c
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 2b6da0c

Please sign in to comment.