Anis Elleuch
acc4b97483
Add Damerau Levenshtein algo to suggest more alternatives to mistyped commmands
2016-01-13 21:32:23 +01:00
Anis Elleuch
31b07812cb
Emphasize that subcommands have a help flag
2016-01-08 19:14:47 +01:00
Anis Elleuch
664f982833
Trivial fix of cmd error message, the same for missing dependencies in checkdeps.sh
2016-01-07 22:49:47 +01:00
Anand Babu (AB) Periasamy
0bd1edfd8f
new alias style and numerous cleanups.
2015-12-28 15:31:52 -08:00
Harshavardhana
36e7e42637
contentType: use contentDB package from server.
2015-12-04 16:28:26 -08:00
Harshavardhana
9219e1a320
mirror/pipe: Enable mirror and pipe back now they do not work for multiple targets.
2015-11-29 14:43:11 -08:00
Harshavardhana
1badfc8a04
:mc: resumable downloads and support incomplete files on file system.
2015-11-28 18:00:53 -08:00
Anand Babu (AB) Periasamy
f94989dc0a
support global flags for both commands and global main
...
Change-Id: If0939b52ad3ccb8d5ada0118515c2ad398bceef0
2015-11-25 15:08:16 -08:00
Harshavardhana
fd1cde749a
mc: Fix setGlobalContext across all commands.
...
- Always set globals from context before validating input arguments.
- Add missing os.Exit(1) from console.Fatal{f,ln} which was
accidentally removed from previous commits.
Fixes #1472
2015-11-22 00:33:35 -08:00
Harshavardhana
39ba33f4c6
config: Simplify config further, add more docs.
2015-11-21 16:32:34 -08:00
Anand Babu (AB) Periasamy
269ac7b105
global flags are replaced with command speific flags, but still retain global behavior
2015-11-21 14:20:00 -08:00
Anand Babu (AB) Periasamy
052f73f348
restructure globals and some bug fixes related to globals
2015-11-21 12:43:21 -08:00
Harshavardhana
1a85e97050
session: Make session resume more user friendly
2015-11-19 13:08:13 -08:00
Harshavardhana
34c9896d1d
doc: Add various missing documentation across the codebase.
2015-11-18 12:52:46 -08:00
Harshavardhana
cbb937139e
docs: Changes necessary for comprehensive doc changes
...
Fixes #1385 , #1384 , #1381 , #1367 , #1363
2015-11-17 09:14:57 -08:00
Anand Babu (AB) Periasamy
e1763a057b
show help flag for mc
2015-11-16 12:52:54 -08:00
Harshavardhana
7831917901
help: Re-write help style now each command has --help
2015-11-16 02:21:44 -08:00
Anand Babu (AB) Periasamy
dfbd6e6567
new help command
2015-11-14 23:37:00 -08:00
Anand Babu (AB) Periasamy
365a7579bf
share rewrite
2015-11-14 20:16:30 -08:00
Anand Babu (AB) Periasamy
3950402c89
review of cp ls mirror pipe and rm
2015-11-12 01:34:43 -08:00
Anand Babu (AB) Periasamy
ed0dbb835b
simplify ls command
2015-11-11 17:45:20 -08:00
Anand Babu (AB) Periasamy
32c7590621
pig became pipe
2015-11-11 00:04:01 -08:00
Anand Babu (AB) Periasamy
970927cc6b
simplify setting console theme
2015-11-10 16:45:32 -08:00
Harshavardhana
123e44d8c5
build: Populate mcVersion through ldflags
...
By default binary built through 'go get github.com/minio/mc'. Will be
considered UNOFFICIAL.GOGET with not versioning, 'go get' binaries
cannot use 'mc update' functionality.
First reasoning towards this is - go build tools have no way to specifying
versions and releases unlike `npm`. For this reason alone we have to
differentiate OFFICIAL and UNOFFICIAL.
Now a 'make' will build appropriate binaries, while 'go get' becomes UNOFFICIAL.
2015-11-02 12:42:17 -08:00
Harshavardhana
a0d7e5f9be
Pick release tag from mcReleaseTag
2015-10-25 11:12:36 -07:00
Harshavardhana
ae447a96ad
Update probe with new changes and setAppInfo for probe
2015-10-25 11:05:12 -07:00
Anand Babu (AB) Periasamy
48adfcdcd8
updated probe
2015-10-23 17:35:21 -07:00
Anand Babu (AB) Periasamy
3d6b19f833
remove root check
2015-10-22 00:13:32 -07:00
Krishna Srinivas
b4c78a33ff
support for "rm" of objects and buckets
2015-10-19 15:11:59 -07:00
Krishna Srinivas
b73d4662e8
remove the un-needed space character in help display which would make the shell prompt offset by a space char.
2015-10-17 02:55:19 -07:00
Harshavardhana
f85e8827e1
Migrate mc package to minio-xl from minio/minio repo for probe/quick
2015-10-17 00:24:14 -07:00
Anand Babu (AB) Periasamy
21a90da0bf
new pig command
2015-10-11 01:45:32 -07:00
Harshavardhana
6d95872ad8
Add new --colors option for choosing different coloring styles for console printing
...
Each command implements and interprets the following coloring styles
- ``dark`` - default coloring style picks up palette colors Cyan, Red, Blue, White etc
- ``light`` - lighter chooses white colored console printing.
- ``nocolor`` - nocolor is for console printing without any colors.
All coloring internally use ASCII color schemes, portable across all known OS.
2015-10-07 17:08:42 -07:00
Harshavardhana
0f51ca0a77
Strconv for UID on windows doesn't work since UID is not an number on windows
...
There is no portable way to know, ignore root check for windows for now.
2015-09-30 12:42:19 -07:00
Harshavardhana
53f83dfe57
Add some comments for migration
2015-09-28 10:40:19 -07:00
Harshavardhana
6295a1910e
Fix mcVersion and keep it in http.TimeFormat by default
2015-09-22 14:34:53 -07:00
Harshavardhana
e9be0976ab
when Invalid command is passed, print closest known prefix using trie structure
2015-09-14 01:40:48 -07:00
Harshavardhana
1a74e98b23
Share migrate to V2 version moving from type map to array.
2015-09-13 13:45:54 -07:00
Harshavardhana
311a80b6e8
Disallow users running 'mc' as root
2015-09-09 15:49:22 -07:00
Anand Babu (AB) Periasamy
0fbcfa5de0
automatically enable quiet-mode if terminal capabilities are limited
2015-08-29 12:25:03 -07:00
Harshavardhana
957d4e08cc
Fix typo, pushing this in
2015-08-29 00:40:38 -07:00
Harshavardhana
7e5820a815
Fix config v3 for previous reverts
2015-08-29 00:27:11 -07:00
Harshavardhana
0dda19490e
Add nocolor flag to disable coloring if necessary proactively
2015-08-26 12:34:08 -07:00
Harshavardhana
40b93efd8b
Add remove alias command
2015-08-25 18:02:27 -07:00
Harshavardhana
c48a98de62
Add proper comments.
2015-08-25 16:54:55 -07:00
Anand Babu (AB) Periasamy
831db52dcf
thread-safe typed errors
2015-08-24 12:55:11 -07:00
Anand Babu (AB) Periasamy
40ff9f1033
re-vendorize probe and simplfy typed errors
2015-08-24 04:09:18 -07:00
Harshavardhana
f089dc1b68
End sentences with a . for readability
2015-08-23 01:35:32 -07:00
Anand Babu (AB) Periasamy
e61ad067cd
final review of all error messages
2015-08-22 23:15:30 -07:00
Harshavardhana
c08b44e419
Add pkg-add and pkg-remove Makefile options for easily removing and adding new packages
2015-08-22 21:25:12 -07:00