mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-01 19:24:14 +08:00
docs(ls) help
This commit is contained in:

committed by
Juan Batiz-Benet

parent
229b22f9c4
commit
0e8e3cccb6
@ -26,7 +26,16 @@ var lsCmd = &cmds.Command{
|
|||||||
Arguments: []cmds.Argument{
|
Arguments: []cmds.Argument{
|
||||||
cmds.Argument{"object", cmds.ArgString, false, true},
|
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) {
|
Run: func(res cmds.Response, req cmds.Request) {
|
||||||
node := req.Context().Node
|
node := req.Context().Node
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user