Ben S
7091a42ab8
Hide the group by default
2014-05-26 18:08:58 +01:00
Ben S
0dd74a022f
Add --binary flag
...
This finally means that the list of columns is no longer fixed, which means it has to be generated somewhere. And guess where it got moved to? That's right, the options object! (see previous commits)
2014-05-26 15:44:16 +01:00
Ben S
573765b62b
Move filtering to options object, too
...
I'd like to have as few public methods on it as possible.
2014-05-26 12:46:51 +01:00
Ben S
1dbe20c8c5
Move sorting and reversing into options object
2014-05-26 11:50:46 +01:00
Ben S
05b2d541ac
s/StrBuf/String/g
2014-05-26 11:08:33 +01:00
Ben S
566ed0bba8
Move columns to options object
2014-05-25 19:42:31 +01:00
Ben S
cb6dd57ca0
Move getopts code into options module
2014-05-25 18:14:00 +01:00
Ben S
d60c2ce839
Add reverse parameter
2014-05-24 21:45:24 +01:00
Ben S
7063c21ba0
Actually, cache the calls to ext
...
They get computed often enough for this to be worthwhile, and I have plans for using the extension even if it's not what's being sorted by.
2014-05-24 02:36:00 +01:00
Ben S
184de0ce79
Allow sorting by file extension
2014-05-24 02:32:57 +01:00
Ben S
cb1b8bc2d7
Add sort option
...
And move options struct into its own module
2014-05-24 02:17:43 +01:00