tsibley / App-cpangrep

Grep CPAN from the command-line using grep.cpan.me
Other
4 stars 1 forks source link

Improve scriptability #1

Open dgl opened 11 years ago

dgl commented 11 years ago

Effectively make it behave more like grep does on the command line:

tsibley commented 11 years ago

Colors are now smart and also controllable. -l works. I haven't got the terse parseable output written yet.

BTW, line numbers are only being returned some of the time from the API. Perhaps there's a caching issue or some backend processes have the news code and some don't?

On Apr 30, 2013, at 16:19, David Leadbeater notifications@github.com wrote:

Effectively make it behave more like grep does on the command line:

If output isn't a terminal disable colors, maybe output more processable output, e.g. lines of the form: DGL/Foo-bar-1.2/t/bar.t:3:use strict; -l option to just print: DGL/Foo-bar-1.2/t/bar.t — Reply to this email directly or view it on GitHub.