mirror of
https://github.com/pgsty/minio.git
synced 2026-08-10 08:13:28 +03:00
Rename appname to commandname for consistency
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
## Introduction
|
||||
|
||||
`minio-cli` is option stub builder for ``minio`` project using [codegangsta/cli](https://github.com/codegangsta/cli),
|
||||
`minio-cli` is cli option stub builder for ``minio`` project on top of [codegangsta/cli](https://github.com/codegangsta/cli),
|
||||
|
||||
The idea is to be able to do rapid prototyping and facilitate new contributors to the project
|
||||
Ideal for rapid prototyping and encouraging new contributors to the project
|
||||
|
||||
## Usage
|
||||
|
||||
You just need to set its application name and options:
|
||||
You just need to set its command name and options:
|
||||
|
||||
```bash
|
||||
$ minio-cli -options option1,option2,option3 [application]
|
||||
$ minio-cli -options option1,option2,option3 [command]
|
||||
```
|
||||
|
||||
Generates three files namely [application].go, [application]-options.go, [application].md
|
||||
Generates three files namely [command].go, [command]-options.go, [application].md
|
||||
|
||||
## Example
|
||||
|
||||
If you want to start to building `bucket` application which has subcommands `get`, `put`, `list`:
|
||||
If you want to start to building `bucket` command which has options `get`, `put`, `list`:
|
||||
|
||||
```bash
|
||||
$ minio-cli -options get,put,list foo
|
||||
|
||||
Reference in New Issue
Block a user