Update docs

This commit is contained in:
Harshavardhana
2015-03-13 03:18:59 -07:00
parent b634ae33ac
commit be59793b78
3 changed files with 33 additions and 27 deletions
+14 -11
View File
@@ -1,6 +1,6 @@
# Minio Client
mc - unified command line interface for Minio and S3 released under [Apache license v2](./LICENSE).
mc - Minio Client for S3 Compatible Object Storage released under [Apache license v2](./LICENSE).
## Install
@@ -13,7 +13,7 @@ mc - unified command line interface for Minio and S3 released under [Apache lice
### Commands
```
NAME:
mc - unified command line interface for Minio and S3
mc - Minio Client for S3 Compatible Object Storage
USAGE:
mc [global options] command [command options] [arguments...]
@@ -22,19 +22,22 @@ VERSION:
0.1.0
AUTHOR:
Minio Community
Minio.io
COMMANDS:
cp
ls
mb
sync
configure
cp copy objects
ls get list of objects
mb makes a bucket
config Generate configuration "/home/harsha/.minio/mc/config.json" file.
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
--debug enable HTTP tracing
--quiet, -q disable chatty output, such as the progress bar
--get-bash-completion Generate bash completion "/home/harsha/.minio/mc/mc.bash_completion" file.
--help, -h show help
--generate-bash-completion
--version, -v print the version
```
## Contribute
@@ -57,5 +60,5 @@ $ echo 'source ${HOME}/.minio/mc/mc.bash_completion' >> ${HOME}/.bashrc
```
$ mc <TAB><TAB>
configure cp h help ls mb sync
config cp h help ls mb sync
```
+5 -5
View File
@@ -22,27 +22,27 @@ import (
var cp = cli.Command{
Name: "cp",
Usage: "",
Description: `Copies a local file or Object to another location locally or in S3.`,
Usage: "copy objects",
Description: `Copies a local file or dir or object or bucket to another location locally or in S3.`,
Action: doFsCopy,
Flags: []cli.Flag{
cli.BoolFlag{
Name: "recursive, r",
Usage: "recursive cp",
Usage: "recursively crawls given directory uploads to given bucket",
},
},
}
var ls = cli.Command{
Name: "ls",
Usage: "",
Usage: "get list of objects",
Description: `List Objects and common prefixes under a prefix or all Buckets`,
Action: doFsList,
}
var mb = cli.Command{
Name: "mb",
Usage: "",
Usage: "makes a bucket",
Description: "Creates an S3 bucket",
Action: doFsMb,
}
+14 -11
View File
@@ -1,6 +1,6 @@
# Minio Client
mc - unified command line interface for Minio and S3 released under [Apache license v2](./LICENSE).
mc - Minio Client for S3 Compatible Object Storage released under [Apache license v2](./LICENSE).
## Install
@@ -13,7 +13,7 @@ mc - unified command line interface for Minio and S3 released under [Apache lice
### Commands
```
NAME:
mc - unified command line interface for Minio and S3
mc - Minio Client for S3 Compatible Object Storage
USAGE:
mc [global options] command [command options] [arguments...]
@@ -22,19 +22,22 @@ VERSION:
0.1.0
AUTHOR:
Minio Community
Minio.io
COMMANDS:
cp
ls
mb
sync
configure
cp copy objects
ls get list of objects
mb makes a bucket
config Generate configuration "/home/harsha/.minio/mc/config.json" file.
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
--debug enable HTTP tracing
--quiet, -q disable chatty output, such as the progress bar
--get-bash-completion Generate bash completion "/home/harsha/.minio/mc/mc.bash_completion" file.
--help, -h show help
--generate-bash-completion
--version, -v print the version
```
## Contribute
@@ -57,5 +60,5 @@ $ echo 'source ${HOME}/.minio/mc/mc.bash_completion' >> ${HOME}/.bashrc
```
$ mc <TAB><TAB>
configure cp h help ls mb sync
config cp h help ls mb sync
```