mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
Moving minio command to cmd/minio
This commit is contained in:
parent
2679324afe
commit
f8f9f65652
4
Makefile
4
Makefile
@ -5,10 +5,10 @@ all: test install
|
|||||||
test:
|
test:
|
||||||
mkdir -p cover
|
mkdir -p cover
|
||||||
godep go test -race -coverprofile=cover/cover.out github.com/minio-io/minio
|
godep go test -race -coverprofile=cover/cover.out github.com/minio-io/minio
|
||||||
godep go test -race github.com/minio-io/minio/minio
|
godep go test -race github.com/minio-io/minio/cmd/minio
|
||||||
|
|
||||||
install:
|
install:
|
||||||
godep go install -race github.com/minio-io/minio/minio
|
godep go install -race github.com/minio-io/minio/cmd/minio
|
||||||
|
|
||||||
save:
|
save:
|
||||||
godep save ./...
|
godep save ./...
|
||||||
|
29
cmd/minio-sandbox/main.go
Normal file
29
cmd/minio-sandbox/main.go
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/codegangsta/cli"
|
||||||
|
"log"
|
||||||
|
"os"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
app := cli.NewApp()
|
||||||
|
app.Commands = []cli.Command{
|
||||||
|
{
|
||||||
|
Name: "put",
|
||||||
|
Usage: "Start a storage node",
|
||||||
|
Action: func(c *cli.Context) {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
Name: "get",
|
||||||
|
Usage: "Start a gateway node",
|
||||||
|
Action: func(c *cli.Context) {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
err := app.Run(os.Args)
|
||||||
|
if err != nil {
|
||||||
|
log.Fatal("App failed to load", err)
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user