Commit Graph

29 Commits

Author SHA1 Message Date
Alfredo Beaumont
5b05a3bcc4 Merge pull request #115 from darkowlzz/sort-results
cli: sort the results
2017-10-02 12:27:22 +02:00
Sunny
e889283017 cli: add version flag
Signed-off-by: Sunny <me@darkowlzz.space>
2017-09-30 19:18:00 +05:30
Sunny
b84e338f9e cli: sort the results
Adds `FileCount` and `FileCountList` types for storing language file and
their count which can be sorted based on the value of count.

Signed-off-by: Sunny <me@darkowlzz.space>
2017-09-30 18:52:30 +05:30
Alfredo Beaumont
faeecb93ed cli: Ignore symlinks inside a directory walk 2017-08-01 11:54:48 +02:00
Manuel Carmona
0b6e83ed74 fixed bug in cli 2017-07-21 13:38:19 +02:00
Alfredo Beaumont
4d42cb06d3 Merge pull request #73 from dpaz/issue72
Cli to analyze a single file
2017-07-20 13:40:56 +02:00
Manuel Carmona
99d2085aad added linguist version to CLI 2017-07-18 16:41:14 +02:00
Manuel Carmona
1d1e090149 modified Makefile to include src-d/ci/Makefile.main 2017-07-18 13:31:34 +02:00
David Paz
bd402a063c Fixed output text 2017-07-18 12:54:54 +02:00
David Paz
b2fe3f69ce Added mymeType.gold 2017-07-18 12:47:19 +02:00
David Paz
125c802582 Now generates mime file 2017-07-18 12:46:29 +02:00
David Paz
5df52d50a6 Most of the file analyze done 2017-07-18 12:46:29 +02:00
Santiago M. Mola
c41038d444 Merge pull request #71 from mcarmonaa/fix/cli-version
added version to cli
2017-07-10 17:51:03 +02:00
Manuel Carmona
4edff792e8 added version to cli 2017-07-07 15:05:22 +02:00
Manuel Carmona
761029c3a5 check for extension and filename first, without load a file content
removed language and ok variables declaration
2017-07-06 15:24:58 +02:00
David Paz
511a56838d Added end of line when outputs json 2017-07-05 12:12:23 +02:00
David Paz
06bc5265b7 Changed usage text 2017-06-29 09:34:57 +02:00
David Paz
55a61c4be2 Now returns the same output for the same flags 2017-06-26 17:15:03 +02:00
David Paz
8745abfca4 Remove empty line 2017-06-19 10:14:13 +02:00
David Paz
47acd8841c Deleted log fatal 2017-06-16 13:07:32 +02:00
Vadim Markovtsev
788de6a3b5 Rename simple-linguist to enry 2017-06-14 12:43:26 +02:00
Manuel Carmona
ba53e10c7b renamed package and cli to enry 2017-06-13 14:18:23 +02:00
Máximo Cuadros
3a470f617c project renamed to enry 2017-06-08 09:27:27 +02:00
Manuel Carmona
139ddcbeec fixed cli to skip some type of directories and files 2017-06-06 11:31:05 +02:00
Manuel Carmona
df60eab1ad added language detection by filename strategy 2017-04-27 17:32:39 +02:00
Manuel Carmona
a029941876 slinguist cli uses GetLanguage
cli handles error returned by filepath.Walk
2017-04-27 16:40:23 +02:00
Máximo Cuadros
3a2a62baad move srcd.works to gopkg.in 2017-04-05 18:26:58 +02:00
Manuel Carmona
665b7475e3 code generation move to internal/code-generator 2017-04-05 17:49:58 +02:00
Manuel Carmona
d759fb8992 Added languages.go generator 2017-04-04 13:10:35 +02:00