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
Harshavardhana
98e88c2ff0
Add proper JSON status field for API compatibility ( #2807 )
2019-06-26 10:51:17 -07:00
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
57414cbb6e
Add in-place update feature ( #2605 )
2018-11-26 20:04:55 +05:30
Harshavardhana
cb4f46854b
Fix command line names and documentation ( #2602 )
2018-11-19 17:19:53 -08:00
Anis Elleuch
45b32d3985
errors: Add missing ending dot in error & fatal messages ( #2418 )
2018-03-23 12:22:55 +05:30
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
Harshavardhana
694ab27649
build/release: Add sha256sums for minio client releases. ( #2171 )
...
Additionally deprecate support for arm6vl platform.
Fixes #2151
2017-06-07 17:09:19 -07: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
675fbee1f3
mc: Rewrite update and version command. ( #2026 )
...
- Supports docker image
- Supports showing how old your current
`mc` version is.
2017-02-20 22:04:54 +01: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
477461325d
update: Update link is printed automatically for RELEASE versions. ( #1840 )
...
This link is printed only for RELEASE versions when user doesn't
provide any sub commands.
Fixes #1839
2016-09-28 10:50:06 -07:00
Harshavardhana
a30f0aca85
Add build-constants.
2016-08-17 18:30:01 -07:00
Harshavardhana
2ea2ec90d2
Rename mc --> cmd
2016-08-17 18:26:18 -07:00