1
0
mirror of https://github.com/minio/mc.git synced 2025-11-12 01:02:26 +03:00
Commit Graph

85 Commits

Author SHA1 Message Date
Harshavardhana
25f847b3b6 Implement console.Fatals, Errors, Infos, Prints for structure input and printing 2015-05-26 17:59:35 -07:00
Harshavardhana
76c3345f47 Change range to simpler for loop, range over array of interfaces{} doesn't seem to work 2015-05-25 11:30:48 -07:00
Harshavardhana
5515e627d4 Bring back support for Formatted strings 2015-05-24 19:23:31 -07:00
Harshavardhana
3dd6b53c55 Add progress bar as a new theme element 2015-05-24 14:30:28 -07:00
Harshavardhana
eeb71d212a Add missing String() method for ErrorMessage struct as well 2015-05-24 13:13:28 -07:00
Harshavardhana
192285c2af Remove console to depend on its own structures, instead let it deal with interface{} 2015-05-24 12:58:30 -07:00
Harshavardhana
5ce6cc8e37 On windows display directories with forward slash and also interpret prefixes 2015-05-22 19:33:26 -07:00
Harshavardhana
54d0f9c553 Refactoring console printing style, supports --json even for error messages now - fixes #418 2015-05-22 18:27:07 -07:00
Harshavardhana
edb8381400 Refactor debugging output, implement --json output currently only supported on 'ls' 2015-05-21 22:30:32 -07:00
Harshavardhana
24803e108b Merge pull request #669 from vadmeste/pr_out_fix_colored_output_for_windows 2015-05-21 18:38:44 -07:00
Harshavardhana
aeaf8d4055 Reorder options, print only error messages 2015-05-21 18:08:12 -07:00
Anis Elleuch
1c85ce6c69 Fix output coloring in Windows Command Prompt 2015-05-21 23:34:59 +01:00
Harshavardhana
1a319b80ad Implement cp tests
-- update bar.Total with atomic.AddInt64
-- expose console mutex Lock/Unlock()
-- send errors in cp over channels
2015-05-20 21:43:58 -07:00
Harshavardhana
6d4a7c5e7b Add function isatty() to detect if Stdout for console is a terminal, if not disable coloring - fixes #631
Necessary when one has to pipe ``mc`` output to non terminal applications like ``less`` ``more`` etc.
2015-05-16 18:11:56 -07:00
Harshavardhana
e4a77c7391 Change minio-io to minio 2015-05-11 16:24:26 -07:00
Harshavardhana
607d86e5c3 Add few more tests 2015-05-02 14:04:29 -07:00
Harshavardhana
f914a059d3 Use console.Debugln instead of log.Debug.Println 2015-05-02 12:32:21 -07:00
Harshavardhana
744ed7dcd1 Bring old documentation back 2015-04-28 11:03:34 -07:00
Harshavardhana
62750317d4 Add proper retry() mechanisms and print that in Magenta color 2015-04-25 23:08:44 -07:00
Anand Babu (AB) Periasamy
409309442e fix scrolling progressbar bug 2015-04-24 12:01:28 -07:00
Anand Babu (AB) Periasamy
514b848d46 Console outputs Fatal, Error and Debug messages on os.stderr 2015-04-24 04:01:55 -07:00
Harshavardhana
17d0f05560 Print ls with special color for directories 2015-04-23 21:36:12 -07:00
Anand Babu (AB) Periasamy
c09ce54090 console enhancements, consistent error message and janitor duty 2015-04-23 21:25:10 -07:00
Anand Babu (AB) Periasamy
94d89c2181 no color for win for now 2015-04-23 03:10:36 -07:00
Anand Babu (AB) Periasamy
eb29760aec update console package and add additional nocolor check 2015-04-23 01:17:50 -07:00
Anand Babu (AB) Periasamy
16e8cec82a field specific color theme 2015-04-23 01:02:17 -07:00
Anand Babu (AB) Periasamy
b923232e9f console theme improvements 2015-04-22 18:05:42 -07:00
Harshavardhana
af1cb1b478 Make sure to properly exit if requested theme not available, also re-structure console package a bit 2015-04-20 13:19:52 -07:00
Anand Babu (AB) Periasamy
040b15b240 disable console theme on Windows 2015-04-17 16:31:30 -07:00
Anand Babu (AB) Periasamy
90f853a00f Modern Copy to Mini Copy 2015-04-16 20:13:52 -07:00
Harshavardhana
0935573255 Prefix error messages with mc: part of #286 2015-04-16 15:53:33 -07:00
Harshavardhana
6bfb0b0b7c Simplify console further 2015-04-14 05:12:45 -07:00
Anand Babu (AB) Periasamy
b0cae379fa console theme 2015-04-14 02:55:04 -07:00
Anand Babu (AB) Periasamy
e7a2699ab2 minio client becomes modern copy 2015-04-11 17:11:38 -07:00
Harshavardhana
ad35fe72d0 Move colors to console package, now implement colored
- Fatal, Fatalf, Fatalln
 - Error, Errorln
 - Info, Infof, Infoln
2015-04-10 01:14:47 -07:00