예제 #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(),
		},
	}
}