Commit Graph

44 Commits

Author SHA1 Message Date
Jan Philipp Timme 7c33b16b8c Remove os.Stdout from shell.go completely 2019-01-01 19:42:22 +01:00
Jan Philipp Timme f7bb218403 Use reader and writer to make shell extensible 2019-01-01 19:37:05 +01:00
Jan Philipp Timme b471f6a914 Introduce a very rough skeleton to implement interactive shell 2019-01-01 19:24:43 +01:00
Jan Philipp Timme ad252c7480 Fix code to build sortConfig 2019-01-01 16:45:42 +01:00
Jan Philipp Timme 8210727655 Change error handling for sort configuration 2019-01-01 16:40:58 +01:00
Jan Philipp Timme bd6e9cdea5 Remove superfluous prints 2019-01-01 16:18:36 +01:00
Jan Philipp Timme 1350399e8e Rename functions for clarity 2019-01-01 16:05:25 +01:00
Jan Philipp Timme e57c011391 Restructure mailq package 2019-01-01 16:02:04 +01:00
Jan Philipp Timme 9e19df62ed Begin restructuring the project 2019-01-01 15:46:35 +01:00
Jan Philipp Timme eadaf8d420 Fix sorting not working as expected 2019-01-01 15:17:21 +01:00
Jan Philipp Timme 23277a9159 Fix broken switch statement 2019-01-01 15:13:18 +01:00
Jan Philipp Timme 8dea3f83bc Refactor sorting a bit 2019-01-01 15:09:47 +01:00
Jan Philipp Timme 2493e581ae Implement support for sorting order 2019-01-01 14:49:30 +01:00
Jan Philipp Timme f22be8fccf Introduce configurable sorting 2019-01-01 14:36:50 +01:00
Jan Philipp Timme c199ca0bcb Begin building a sorting feature 2019-01-01 12:41:15 +01:00
Jan Philipp Timme dd47907270 Experimental feature: Sorting the queue entries 2019-01-01 02:45:08 +01:00
Jan Philipp Timme 3d893015a3 Add support for JSON output 2018-12-31 21:22:23 +01:00
Jan Philipp Timme 92a709d196 Allow printing queue data in parseable format 2018-12-31 21:08:24 +01:00
Jan Philipp Timme 7f4e19e285 Refactoring 2018-12-31 20:36:14 +01:00
Jan Philipp Timme 5a21e5a3cf Fix missing symbol in tabwriter view 2018-12-31 17:20:48 +01:00
Jan Philipp Timme 78f9468f0c Refactor, introduce MailQ struct 2018-12-31 17:16:32 +01:00
Jan Philipp Timme b164d00e1f Remove debugging printf 2018-12-31 17:00:13 +01:00
Jan Philipp Timme bcd08235a3 Update date format, add status to view 2018-12-31 16:54:01 +01:00
Jan Philipp Timme 647b38ccb8 Beautify table view a bit 2018-12-31 16:47:53 +01:00
Jan Philipp Timme 2a9ae87b2f Implement printing mailqueue in table, restructuring 2018-12-31 16:32:23 +01:00
Jan Philipp Timme d39fb736dc Fix getting stuck when closing pager without reading all entries 2018-12-31 15:53:51 +01:00
Jan Philipp Timme 70420c456e Handle empty mailqueue gracefully, it is not an error 2018-12-31 15:05:13 +01:00
Jan Philipp Timme 6a934ee54b Add TODO regarding issues with pager 2018-12-30 14:53:15 +01:00
Jan Philipp Timme f48e4c9f60 Use pager to display results 2018-12-30 14:51:08 +01:00
Jan Philipp Timme 6619bd86ce Do not pass arguments if empty 2018-12-30 13:34:45 +01:00
Jan Philipp Timme 1c8a2a0924 Improve detailed QEntry String representation 2018-12-30 13:23:30 +01:00
Jan Philipp Timme 73fd1dcf8e Improve string view of single QEntry instances 2018-12-30 13:15:14 +01:00
Jan Philipp Timme d087d8d746 Fix reading from command not passing arguments 2018-12-30 12:54:22 +01:00
Jan Philipp Timme 5474966220 Begin implementing interactive mode 2018-12-29 23:44:40 +01:00
Jan Philipp Timme 24afa08970 Change how mail queue entries can be displayed 2018-12-29 23:28:58 +01:00
Jan Philipp Timme 1e33d3669c Improve flag descriptions 2018-12-29 22:10:53 +01:00
Jan Philipp Timme 4ae5f3e500 Run go fmt again 2018-12-29 22:02:45 +01:00
Jan Philipp Timme 8ca26b3d9d Refactoring 2018-12-29 22:02:23 +01:00
Jan Philipp Timme 874d000879 Separate global from local imports 2018-12-29 21:22:47 +01:00
Jan Philipp Timme 660c55fcaf Add support for reading from mailq directly 2018-12-29 21:21:03 +01:00
Jan Philipp Timme 063fb5756d Rename Entry to QEntry in parser.go 2018-12-29 18:16:54 +01:00
Jan Philipp Timme 40c3044c84 Ran go fmt on it 2018-12-29 18:09:44 +01:00
Jan Philipp Timme 50694f861b Add .gitignore 2018-12-29 17:51:10 +01:00
Jan Philipp Timme 2a26e4fb3a Initial import 2018-12-29 17:50:34 +01:00