Harshavardhana
7c454d8f94
Migrate to new minio/cli, fix all extra spaces across commands ( #2825 )
2019-07-15 19:59:28 +01:00
Harshavardhana
6003da8daa
update command with json flag shouldn't throw prompt ( #2809 )
2019-06-27 15:43:14 -07:00
Ashish Kumar Sinha
56309a4999
mc command cleanup ( #2783 )
2019-06-27 14:47:08 +05:30
ebozduman
83a9d8b91d
Adds missing codebase MinIO and min.io changes ( #2745 )
2019-04-16 22:31:54 -07:00
Sidhartha Mani
c75abbb3f9
use colorjson for all other mc outputs ( #2683 )
...
- Update to MarshalIndent instead of Marshal
- Allow unmarshalling
2019-02-28 14:33:13 -08:00
Harshavardhana
cb4f46854b
Fix command line names and documentation ( #2602 )
2018-11-19 17:19:53 -08:00
Harshavardhana
b827fac635
Fix help message usage for some commands ( #2591 )
2018-11-05 10:37:33 -08:00
Harshavardhana
29f2dbca6b
Fix 'mc mb' to guide the user when bucket is not passed ( #2476 )
...
Additionally this PR also allows for creating
prefixes on S3 compatible object storage backends
in the following form
```
mc mb s3/harshavardhana/object/prefix/
```
2018-06-29 14:56:07 -07:00
Aditya Manthramurthy
ca96cfc6e6
Move pkg/probe from vendor dir to package dir ( #2236 )
...
The probe package is no longer available in the Minio server
repo. This change just moves probe from the vendor directory to its
own dir under `pkg`.
This is a maintenance fix.
2017-08-14 11:13:38 -07:00
Anis Elleuch
e54962e17f
mb: Add -p flag to ignore existing bucket/dir ( #2143 )
...
If a remote directory/bucket exists, -p will still make mb cmd
happy if the target already exists.
2017-04-28 13:13:44 -07:00
Harshavardhana
0934a39d73
cli: Fix more commands with inconsistent UI ( #2045 )
2017-02-28 00:21:46 +01:00
Harshavardhana
1ef242a5c1
Fix all cli commands to have consistent UI ( #2040 )
...
Fixes #2038
2017-02-27 11:44:26 -08:00
Anis Elleuch
798775775b
Use ` instead of unicode single quote ( #2033 )
...
‘ is not supported in some dumb terminals, use ` instead
2017-02-25 11:08:32 -08:00
Harshavardhana
e7e44b96ee
Avoid printing hidden flags and commands with custom help. ( #2015 )
...
Always use .VisibleFlags and .VisibleCommands in templates
to avoid printing hidden flags and commands in the help
template.
2017-02-15 02:05:29 -08:00
Anis Elleuch
fb9d10772a
help: Use {{.HelpName}} in help/examples template ( #2013 )
...
It is easier to use {{.HelpName}} in help text template to print
the mc binary name plus the whole command hierarchy (binary name +
command + subcommand, etc..)
2017-02-12 09:30:00 -08:00
Anis Elleuch
085a1e512f
flags: use IsSet to fetch for cli flags ( #1969 )
...
cli package fails to search for global flags when we use many level of subcommands. This PR uses context.IsSet() instead.
2017-01-19 11:25:35 -08:00
Harshavardhana
df395786bd
mc: Consistent exit codes across all commands. ( #1895 )
...
Also brings in much needed CLI changes from
upstream and backporting our custom changes on
top of those changes.
Fixes #1880
2016-11-27 12:35:59 +05:30
Bala FA
0661f537cf
update help messages of all commands. ( #1856 )
2016-10-17 20:18:55 -07:00
Harshavardhana
2ea2ec90d2
Rename mc --> cmd
2016-08-17 18:26:18 -07:00