示例#1
0
文件: commands.go 项目: flazz/rack
// Get returns all the commands allowed for a `files` request.
func Get() []cli.Command {
	return []cli.Command{
		{
			Name:        "container",
			Usage:       "Used for Cloud Files container operations",
			Subcommands: containercommands.Get(),
		},
		{
			Name:        "object",
			Usage:       "Used for Cloud Files object operations",
			Subcommands: objectcommands.Get(),
		},
	}
}
示例#2
0
文件: commands.go 项目: hdansou/rack
// Get returns all the commands allowed for a `files` request.
func Get() []cli.Command {
	return []cli.Command{
		{
			Name:        "container",
			Usage:       "Storage compartments for your objects/files.",
			Subcommands: containercommands.Get(),
		},
		{
			Name:        "object",
			Usage:       "Data storage for objects/files/media.",
			Subcommands: objectcommands.Get(),
		},
	}
}