Commit Graph
23 Commits
Author SHA1 Message Date
poornas ab6b2a83ac Add new stat sub command (#2275) 2017-10-31 13:56:40 -07:00
Harshavardhana 785e14a725 Add find command in docs, remove deprecated files and entries. (#2286) 2017-10-13 17:28:29 -07:00
Carter McClellan 49ef42d36a Implement mc find (#2201) 2017-09-05 15:44:10 -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
Harshavardhana 60681d7fb6 config: Provide meaningful errors for invalid URL and Alias. (#2233)
Fixes #2232
2017-08-06 11:35:01 -07:00
Harshavardhana 05f588fd19 mc: Inherit global flags for initialization messages. (#2189)
Fixes #2089
2017-06-26 09:10:14 -07:00
Anis Elleuch 61f2595852 fix: Set quiet when term width is unavailable (#2173)
mc was asking the user to provide --quiet flag when terminal
width is not available for any reason. This PR tries to fetch
the terminal width at mc startup and automatically set quiet flag
when it fails to fetch the width.
2017-06-06 21:48:08 -07:00
Harshavardhana 3b57e86cd3 cli: Add bash and zsh autocomplete (#2095)
Fixes #2094
2017-03-28 16:57:13 -07:00
Bala FA 9ebb916902 Use words package from minio for DamerauLevenshteinDistance() (#2075) 2017-03-19 18:25:22 -07: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 2ca601ef22 cli: Remove help sub-command and --version flag (#2030)
This is to bring consistent CLI experience as before.
2017-02-21 23:00:09 +01: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 1f48b16acb cli: Make sure to add "--help" flag for subcommands. (#2024)
--help is now back and prints properly with command
help template.
2017-02-19 12:30:16 -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
Bala FA a5014a8c71 trie: use trie package in minio. (#2010) 2017-02-10 19:28:45 -08:00
Anis Elleuch e90e9bc352 admin: Introduce the new service command (#1922)
Introducing Admin Service cmd to mc
2016-12-22 13:37:55 -08:00
Anis Elleuch b3059164aa cli: Fix --version output (#1924) 2016-12-12 10:21:52 -08:00
Anis Elleuch 2cd67b296e tls: load custom public certificates from CAs dir (#1901)
When a user needs to setup his own TLS configuration, he can put his
custom authority certificates in ~/.mc/certs/CAs/. These certificates will
be automatically loaded at startup and will be set to all HTTPS connections
2016-12-02 11:16:01 -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