minio/cmd/new-cmd
2014-12-29 21:22:26 -08:00
..
templates A full restructure 2014-12-29 21:22:26 -08:00
.gitignore A full restructure 2014-12-29 21:22:26 -08:00
formatter.go A full restructure 2014-12-29 21:22:26 -08:00
minio-cli.go A full restructure 2014-12-29 21:22:26 -08:00
README.md A full restructure 2014-12-29 21:22:26 -08:00

Introduction

minio-cli is a stub builder for new commands,options on top of codegangsta/cli,

Idea behind providing a simple tool for rapid prototyping and encouraging new contributors to the project

Usage

You just need to set its command name and options:

$ minio-cli -options option1,option2,option3 [command]

Generates three files namely [command].go, [command]-options.go, [command].md

Example

If you want to start to building bucket command which has options get, put, list:

$ minio-cli -options get,put,list bucket
$ ls bucket/
bucket-options.go  bucket.go  bucket.md