Harshavardhana
7c454d8f94
Migrate to new minio/cli, fix all extra spaces across commands ( #2825 )
2019-07-15 19:59:28 +01:00
Harshavardhana
e978c71b7c
Add staticcheck based builds ( #2788 )
...
Additionally this PR also supports
multi-platform builds to avoid cross
platform build issues.
2019-06-03 11:22:31 -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
cb4f46854b
Fix command line names and documentation ( #2602 )
2018-11-19 17:19:53 -08:00
Harshavardhana
785e14a725
Add find command in docs, remove deprecated files and entries. ( #2286 )
2017-10-13 17:28:29 -07:00
Harshavardhana
c10b429dcb
Refactor and fix find bugs ( #2273 )
...
- Watch now avoids an unnecessary waitgroup and simplifies overall flow.
- Watch now honors maxDepth parameter as well.
- Parsing logic is fully outside in the mainFind() function.
- Enhance and fix behavior of nameMatch to comply with unix
find behavior.
- Enhance and fix behavior of maxdepth to comply with unix
find behavior.
Fixes #2272
2017-10-09 19:44:58 -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
poornas
4753e1e61b
Display watch help [FLAGS] before target ( #2220 )
2017-07-18 10:39:21 -07:00
Harshavardhana
9ea42680b0
watch/events: Add eventInfo struct for brevity. ( #2120 )
2017-04-11 09:08:04 -07:00
Harshavardhana
b0968e29e8
watch/events: Support events on Get/Head operations as well. ( #2116 )
...
Fixes #2073
2017-04-10 11:50:52 -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
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
Harshavardhana
cca8c10f33
mirror: For non-s3 make sure we copy and exit properly. ( #1995 )
2017-02-03 15:55:44 -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
f0d926ebba
fs: Enhanced ignore list to do glob match. ( #1910 )
...
Fixes #1902
2016-12-05 14:07:18 -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
Harshavardhana
cf89d74561
Vendorize new minio-go code. ( #1891 )
...
This fixes #1889 .
```sh
mc mirror -w
```
Now runs continous even when the source is not available.
Reconnects indefinitely in a binomially increasing fashion
and also allows jitter so that the retry has a nice
distribution as well.
This allows for 'mc mirror -w' to run continously without
further monitoring.
2016-11-20 16:31:53 -08:00
Bala FA
0661f537cf
update help messages of all commands. ( #1856 )
2016-10-17 20:18:55 -07:00
Harshavardhana
939dad5900
Move the notify events to new package - rjeczalik/notify. ( #1807 )
...
* Move the notify events to new package - rjeczalik/notify.
* improving handling of notify events on linux specific (#3 ) @nl5887
2016-08-24 02:11:55 -07:00
Harshavardhana
2ea2ec90d2
Rename mc --> cmd
2016-08-17 18:26:18 -07:00