Commit Graph

255 Commits

Author SHA1 Message Date
Eyal Posener bd51afb7f2 Merge pull request #13 from posener/improves
Improves
2017-05-11 22:23:41 +03:00
Eyal Posener 026906bf10 predict files: extract predictFiles function 2017-05-11 22:19:23 +03:00
Eyal Posener 200b1b5b69 predict: split file 2017-05-11 22:02:05 +03:00
Eyal Posener d6cbc0e969 predict: when searching for files, show also directories 2017-05-11 21:57:44 +03:00
Eyal Posener 7b1b902128 Don't complete when last argument is previous directory 2017-05-11 21:06:06 +03:00
Eyal Posener d3bbb859d5 Merge pull request #12 from posener/improves
Enhance program structure and data structures
2017-05-11 20:54:26 +03:00
Eyal Posener ba23c350c7 Fix comment 2017-05-11 20:51:33 +03:00
Eyal Posener 115e175c3d Change Match to be a function 2017-05-11 20:48:40 +03:00
Eyal Posener 967bae76f3 Add Predictor interface 2017-05-11 20:33:29 +03:00
Eyal Posener a28594d28e Add args struct 2017-05-11 18:50:12 +03:00
Eyal Posener dd2171d085 Merge pull request #11 from posener/files-complete
Improve files and directories completion
2017-05-11 02:20:27 +03:00
Eyal Posener 72dfe017e9 Improve files and directories completion 2017-05-11 02:16:39 +03:00
Eyal Posener 1c743d8c0b Merge pull request #10 from posener/alongside
Enable completion and executable be the same command
2017-05-10 20:14:34 +03:00
Eyal Posener 9de57bdcf5 Enable completion and executable be the same command
Fixes #6
2017-05-10 19:21:35 +03:00
Eyal Posener 5db452a63f Install fixups
- remove root installation
- install according to shell type

Closes #7
2017-05-08 07:32:13 +03:00
Eyal Posener b2791b7360 Fix relative path 2017-05-08 06:51:11 +03:00
Eyal Posener c06142941d [gocomplete] fix test name completion 2017-05-08 06:44:00 +03:00
Eyal Posener 6dd6a04d24 Merge pull request #8 from posener/move-match
Move match
2017-05-08 06:33:45 +03:00
Eyal Posener 328144c31b [travis] test multiple packages 2017-05-08 06:30:01 +03:00
Eyal Posener dd75ca3aff Improve Matcher interface 2017-05-07 19:57:44 +03:00
Eyal Posener 6fb4875efa Move match to a separate package 2017-05-07 19:57:41 +03:00
Eyal Posener e8f6dfad58 fix readme install instructions 2017-05-07 16:57:09 +03:00
Eyal Posener 22862094d0 Merge pull request #5 from posener/remove-name
Remove Name from Command struct
2017-05-07 09:41:30 +03:00
Eyal Posener fd5c13f7ed Remove Name from Command struct 2017-05-07 07:59:42 +03:00
Eyal Posener c94813be30 Remove example test 2017-05-06 23:12:20 +03:00
Eyal Posener f740f61fbb [test] chdir and set logger only once 2017-05-06 23:07:26 +03:00
Eyal Posener 8d6ebaa183 Add match tests 2017-05-06 22:59:42 +03:00
Eyal Posener 91a264bb40 add predicate tests 2017-05-06 22:48:34 +03:00
Eyal Posener c20bec01d6 Fix one more vet 2017-05-06 22:26:29 +03:00
Eyal Posener cc743aad8b Fix vet 2017-05-06 22:25:44 +03:00
Eyal Posener c26ef096c7 Merge pull request #4 from posener/doc
Doc
2017-05-06 22:21:03 +03:00
Eyal Posener 404634e843 Add licence 2017-05-06 22:16:39 +03:00
Eyal Posener 703dd6ebc3 improve docs 2017-05-06 22:15:15 +03:00
Eyal Posener 2b6aed2b1e Merge pull request #3 from posener/predicate-as-function-type
Predicate as function type
2017-05-06 21:04:11 +03:00
Eyal Posener 9963a85494 Fix travis, remove go.test.sh 2017-05-06 20:58:01 +03:00
Eyal Posener f46c5f8a28 Change Predicate to be of function type 2017-05-06 20:24:53 +03:00
Eyal Posener dc4c327ae8 Use local completion files and directories according to typed command 2017-05-06 19:51:33 +03:00
Eyal Posener 60345dc6db fmt 2017-05-06 19:11:16 +03:00
Eyal Posener 07b98cb912 Use pointers to predicates 2017-05-06 19:08:47 +03:00
Eyal Posener 99ef98e3ba enhance readme 2017-05-06 18:59:06 +03:00
Eyal Posener 4f47fe9246 Add easy way to install the bash completion 2017-05-06 18:55:54 +03:00
Eyal Posener d33bac720b Remove Complete struct 2017-05-06 09:27:51 +03:00
Eyal Posener 5dbf53eec0 nicer signature for PredictSet 2017-05-06 00:53:03 +03:00
Eyal Posener 87dada1ec4 [readme] add codecov badge 2017-05-06 00:47:42 +03:00
Eyal Posener 212ac48007 Fix tests
add missing directory to git
remove support of go1.7
2017-05-06 00:46:03 +03:00
Eyal Posener 0b5973aaac Add cover badge 2017-05-06 00:39:59 +03:00
Eyal Posener d969de6a6f Add go test script and travis file 2017-05-06 00:38:16 +03:00
Eyal Posener 8421068045 add readme 2017-05-06 00:33:21 +03:00
Eyal Posener 1af7c0b3b7 Roughly add all go commands 2017-05-06 00:25:27 +03:00
Eyal Posener c8263230e1 Add additional args
add predition of directories
add ability for prediction union
2017-05-05 23:07:18 +03:00