Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CleanCommand = cli.Command{
Name: "clean",
Usage: "Clean configuration",
Description: "Removes ClawIO configuration files (~/.clawio/*) to start with a fresh installation",
ArgsUsage: "",
Action: clean,
}
View Source
var ConfigureCommand = cli.Command{
Name: "configure",
Usage: "Configure ClawIO CLI options",
Description: `
Configure ClawIO CLI options. If this command is run with no arguments,
you will be prompted for configuration values such as your ClawIO credentials
(username and password). If your config file does not exist (the default
location is ~/.clawio/config), the ClawIO CLI will create it for you. To keep
an existing value, hit enter when prompted for the value. When you are propmted
for information, the current value will be displayed in [brackets]. If the
config item has no value, it will be displayed as [None]. Note that the
configure command only work with values from the config file. It does not use
any values from environment variables.
Note: the ClawIO Access Token obtained after validating the ClawIO Credentials
will be written to the shared credentials file (~/.clawio/credentials).
Note: ClawIO will log additional information to a log file (default location is
~/.clawio/log).
`,
ArgsUsage: "",
Action: configure,
}
View Source
var CreateTreeCommand = cli.Command{ Name: "mkdir", Aliases: []string{"m"}, Usage: "Create a tree", ArgsUsage: "Usage: mkdir <pathspec>", Action: createTree, }
View Source
var DataCommands = cli.Command{ Name: "data", Aliases: []string{"d"}, Usage: "Data commands", Subcommands: []cli.Command{ DownloadCommand, UploadCommand, }, }
View Source
var DeleteObjectCommand = cli.Command{ Name: "rm", Aliases: []string{"r"}, Usage: "Delete an object", ArgsUsage: "Usage: rm <pathspec>", Action: deleteObject, }
View Source
var DownloadCommand = cli.Command{ Name: "download", Aliases: []string{"d"}, Usage: "Download a BLOB", ArgsUsage: "Usage: download <pathspec>", Action: download, }
View Source
var ExamineObjectCommand = cli.Command{ Name: "examine", Aliases: []string{"e"}, Usage: "Examine an object", ArgsUsage: "Usage: examine <pathspec>", Action: examineObject, }
View Source
var InitCommand = cli.Command{ Name: "init", Aliases: []string{"i"}, Usage: "Init home tree", ArgsUsage: "Usage: init", Action: init2, }
View Source
var ListTreeCommand = cli.Command{ Name: "ls", Aliases: []string{"l"}, Usage: "List a tree", ArgsUsage: "Usage: ls <pathspec>", Action: listTree, }
View Source
var MetaDataCommands = cli.Command{ Name: "metadata", Aliases: []string{"m"}, Usage: "Metadata commands", Subcommands: []cli.Command{ ExamineObjectCommand, ListTreeCommand, InitCommand, DeleteObjectCommand, CreateTreeCommand, MoveObjectCommand, }, }
View Source
var MoveObjectCommand = cli.Command{ Name: "mv", Aliases: []string{"r"}, Usage: "Move an object", ArgsUsage: "Usage: mv <sourcepathspec> <targetpathspec>", Action: moveObject, }
View Source
var UploadCommand = cli.Command{ Name: "upload", Aliases: []string{"u"}, Usage: "Upload a BLOB", ArgsUsage: "Usage: upload <file> <pathspec>", Action: upload, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.