Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = cli.Command{ Action: func(cliCtx *cli.Context) error { return torrents(cliCtx, "list") }, Name: "torrent", Usage: "torrent utilities", Subcommands: []*cli.Command{ { Action: func(cliCtx *cli.Context) error { return torrents(cliCtx, "list") }, Name: "list", Usage: "list torrents available at the specified storage location", ArgsUsage: "<location>", }, { Action: func(cliCtx *cli.Context) error { return torrents(cliCtx, "hashes") }, Name: "hashes", Usage: "list the hashes (in toml format) at the specified storage location", ArgsUsage: "<location> <start block> <end block>", }, { Action: func(cliCtx *cli.Context) error { return torrents(cliCtx, "update") }, Name: "update", Usage: "update re-create the torrents for the contents available at its storage location", ArgsUsage: "<location> <start block> <end block>", }, { Action: func(cliCtx *cli.Context) error { return torrents(cliCtx, "verify") }, Name: "verify", Usage: "verify that manifest contents are available at its storage location", ArgsUsage: "<location> <start block> <end block>", }, }, Flags: []cli.Flag{ &utils.DataDirFlag, &logging.LogVerbosityFlag, &logging.LogConsoleVerbosityFlag, &logging.LogDirVerbosityFlag, }, Description: ``, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.