mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-01 14:28:02 +08:00
Added other entries
License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
This commit is contained in:
parent
600d4a64a5
commit
63fbc7b62b
@ -16,10 +16,7 @@ const progressBarMinSize = 1024 * 1024 * 8 // show progress bar for outputs > 8M
|
||||
var CatCmd = &cmds.Command{
|
||||
Helptext: cmds.HelpText{
|
||||
Tagline: "Show IPFS object data.",
|
||||
ShortDescription: `
|
||||
Retrieves the object named by <ipfs-or-ipns-path> and outputs the data
|
||||
it contains.
|
||||
`,
|
||||
ShortDescription: "Displays the data contained by an IPFS or IPNS object(s) at the given path.",
|
||||
},
|
||||
|
||||
Arguments: []cmds.Argument{
|
||||
|
||||
@ -24,7 +24,7 @@ var GetCmd = &cmds.Command{
|
||||
Helptext: cmds.HelpText{
|
||||
Tagline: "Download IPFS objects.",
|
||||
ShortDescription: `
|
||||
Retrieves the object named by <ipfs-or-ipns-path> and stores the data to disk.
|
||||
Stores to disk the data contained an IPFS or IPNS object(s) at the given path.
|
||||
|
||||
By default, the output will be stored at ./<ipfs-path>, but an alternate path
|
||||
can be specified with '--output=<path>' or '-o=<path>'.
|
||||
|
||||
@ -34,10 +34,7 @@ type PinOutput struct {
|
||||
var addPinCmd = &cmds.Command{
|
||||
Helptext: cmds.HelpText{
|
||||
Tagline: "Pins objects to local storage.",
|
||||
ShortDescription: `
|
||||
Retrieves the object named by <ipfs-path> and stores it locally
|
||||
on disk.
|
||||
`,
|
||||
ShortDescription: "Stores an IPFS object(s) from a given path locally to disk.",
|
||||
},
|
||||
|
||||
Arguments: []cmds.Argument{
|
||||
|
||||
@ -35,12 +35,11 @@ var RefsCmd = &cmds.Command{
|
||||
Helptext: cmds.HelpText{
|
||||
Tagline: "Lists links (references) from an object.",
|
||||
ShortDescription: `
|
||||
Retrieves the object named by <ipfs-path> and displays the link
|
||||
hashes it contains, with the following format:
|
||||
Displays the link hashes an IPFS or IPNS object(s) contains, with the following format:
|
||||
|
||||
<link base58 hash>
|
||||
|
||||
Note: list all refs recursively with -r.
|
||||
Note: List all referencess recursively by using the flag '-r'.
|
||||
`,
|
||||
},
|
||||
Subcommands: map[string]*cmds.Command{
|
||||
|
||||
@ -36,8 +36,7 @@ var LsCmd = &cmds.Command{
|
||||
Helptext: cmds.HelpText{
|
||||
Tagline: "List directory contents for Unix filesystem objects.",
|
||||
ShortDescription: `
|
||||
Retrieves the object named by <ipfs-or-ipns-path> and displays the
|
||||
contents.
|
||||
Displays the contents of an IPFS or IPNS object(s) at the given path.
|
||||
|
||||
The JSON output contains size information. For files, the child size
|
||||
is the total size of the file contents. For directories, the child
|
||||
|
||||
Loading…
Reference in New Issue
Block a user