示例#1
0
文件: get.go 项目: hdansou/rack
func actionGet(c *cli.Context) {
	command := &commandGet{
		Ctx: &handler.Context{
			CLIContext: c,
		},
	}
	handler.Handle(command)
}
示例#2
0
func actionDownload(c *cli.Context) {
	command := &commandDownload{
		Ctx: &handler.Context{
			CLIContext: c,
		},
	}
	handler.Handle(command)
}
示例#3
0
func actionDelete(c *cli.Context) {
	command := &commandDelete{
		Ctx: &handler.Context{
			CLIContext: c,
		},
	}
	handler.Handle(command)
}
示例#4
0
文件: rebuild.go 项目: flazz/rack
func actionRebuild(c *cli.Context) {
	command := &commandRebuild{
		Ctx: &handler.Context{
			CLIContext: c,
		},
	}
	handler.Handle(command)
}
示例#5
0
func actionSetMetadata(c *cli.Context) {
	command := &commandSetMetadata{
		Ctx: &handler.Context{
			CLIContext: c,
		},
	}
	handler.Handle(command)
}
示例#6
0
func actionListAddresses(c *cli.Context) {
	command := &commandListAddresses{
		Ctx: &handler.Context{
			CLIContext: c,
		},
	}
	handler.Handle(command)
}
示例#7
0
func actionUploadDir(c *cli.Context) {
	command := &commandUploadDir{
		Ctx: &handler.Context{
			CLIContext: c,
		},
	}
	handler.Handle(command)
}
示例#8
0
func actionEmpty(c *cli.Context) {
	command := &commandEmpty{
		Ctx: &handler.Context{
			CLIContext: c,
		},
	}
	handler.Handle(command)
}