Commit 0e8e3ccc authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

docs(ls) help

parent 229b22f9
......@@ -26,7 +26,16 @@ var lsCmd = &cmds.Command{
Arguments: []cmds.Argument{
cmds.Argument{"object", cmds.ArgString, false, true},
},
Help: "TODO",
// TODO UsageLine: "ls",
// TODO Short: "List links from an object.",
Help: `ipfs ls <ipfs-path> - List links from an object.
Retrieves the object named by <ipfs-path> and displays the links
it contains, with the following format:
<link base58 hash> <link size in bytes> <link name>
`,
Run: func(res cmds.Response, req cmds.Request) {
node := req.Context().Node
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment