vmchale / tin-summer

Find build artifacts that are taking up disk space
BSD 3-Clause "New" or "Revised" License
339 stars 16 forks source link

Make `directories` subcommand sortable #11

Closed jacobmischka closed 6 years ago

jacobmischka commented 6 years ago

It seems like only artifacts is sortable right now, it would be great if other commands like directories were as well.

$ sn --sort d -d 1 .
error: Found argument '--sort' which wasn't expected, or isn't valid in this context
    Did you mean to put '--sort' after the subcommand 'artifacts'?

USAGE:
    sn <SUBCOMMAND>
$ sn d -d 1 --sort .
error: Found argument '--sort' which wasn't expected, or isn't valid in this context

USAGE:
    sn directories --depth <NUMBER>

For more information try --help

Thanks, great tool!