Merge pull request #25 from fkautz/pr_out_moving_minio_command_to_cmd_minio
Moving minio command to cmd/miniomaster
commit
a468afca03
@ -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