Commit graph

20 commits

Author SHA1 Message Date
Matthew Vincent
ba257b970b Add support for sorting by size
* add `--sort=size` flag
* add `-S` flag
* adjust `.travis.yml` to check the new flags
2017-11-07 22:38:42 +01:00
Claudio Bley
2df30f7f33 Add support for sorting by mtime
* add `--sort=WORD` option, which sorts by modification "time" or not at all

* add short option `-U` to mean `--sort=none` (`ls` compatibility)

* `-t` now has the same effect as `--sort=time` which is also mentioned in the
  post install mesage

* add checks for `--sort=time` and `--sort=none` to .travis.yml
2017-11-06 08:42:02 +01:00
Metamist
3af107627b Added clubbed flags and renamed multi-character shorthand arguments (#125)
* Added clubbed flags and renamed multi-character shorthand arguments to not interfere with clubbed flags

* Cleaned up code

* Fixed parsing arguments without dash

* Made -h flag clubbable

* Minor text fixes

* Cleaned up incompatible flags method
2017-10-07 17:28:13 +05:30
rohitner
72f3424a0d added -gs flag 2017-08-26 21:40:15 +05:30
Claudio Bley
6fa9ca2112 Only filter hidden files when listing a directory
* add `.hidden-file` to fixtures
* add check that `.hidden-file` is found to .travis.yml

Fixes #101.
2017-08-18 08:41:47 +02:00
Rohit Ner
d3e0cd3bb8 Adds support for -h / --help flag (#97)
* added help flag

* updated .travis.yml

* added the list of all use-case commands

* changed rubocop

* made the necessary minor changes in helplog method and changed rubocop
2017-08-16 07:39:02 +05:30
Vladislav Isakov
9b21e7a29f Fixes bug with -l and path to file. Close #89 (#90)
* Fixes bug with -l and path to file. Close #89

* Add use case for -l with path to file
2017-07-27 16:47:25 +05:30
Athitya
4313a25771 Merges branch 2017-07-12 22:16:22 +05:30
Athitya
13ade6acb0 Updates travis.yml 2017-07-12 22:15:12 +05:30
Oskar
1565333cb8 Adds symlink display for -l (#77) 2017-07-12 20:15:23 +05:30
Ace Dimasuhid
d62da43586 Adds -A flag, edits -a flag (#75)
Changes:

* Add -A | --almost-all flag

* Update functionality for -a | --all
2017-07-11 16:08:29 +05:30
sergeant-wizard
d50fcac738 Uses one_per_line if not in TTY environments (#70)
* Use one_per_line if not in TTY environments

* Adds stdout pipe to  command to travis scripts.
2017-07-11 10:00:25 +05:30
Oskar
56f9cad47c Merge branch 'master' into master 2017-07-10 14:00:34 +02:00
Tomasz
10b2198ec8 Adds support for handling files and globs as input (#65)
* Added support for handling files as input (#58)

* Added usage case to Travis config (#58)
2017-07-10 17:29:34 +05:30
GladOSkar
e75637168d updated gemfile & travis, made rubocop happy 2017-07-10 13:39:52 +02:00
Athitya
69ce52e1ac Adds -a / --all flag support 2017-07-07 21:58:10 +05:30
Athitya
6479092635 Updated markdown and travis files 2017-07-07 20:25:38 +05:30
Athitya
31eb53966b Updates travis.yml with more lc flag tests 2017-07-05 22:24:37 +05:30
Athitya
b0edf5fd9b Updates travis.yml 2017-07-05 22:20:49 +05:30
Athitya
cf5eb0c07f Adds travis CI config 2017-06-29 22:44:41 +05:30