Sorry to nitpick, this is a good little util, but it doesn't really follow the unix principles.
I should be able to pipe a format to this util like so:
$ echo "Some String" | slugify -d
some-string
It'd also be great if the output was less noisy, so either:
$ slugify -v My\ \ file.txt
my__file.txt
(or no output, as nothing is startling?):
$ slugify -v My\ \ file.txt
Also, just personal opinion, but I think it'd probably be better if the filesystem functionality was optional, rather than default behaviour.
Like I said, sorry to nitpick, just doesn't seem to run the way one would expect!
Sorry to nitpick, this is a good little util, but it doesn't really follow the unix principles.
I should be able to pipe a format to this util like so:
It'd also be great if the output was less noisy, so either:
$ slugify -v My\ \ file.txt my__file.txt(or no output, as nothing is startling?):
$ slugify -v My\ \ file.txtAlso, just personal opinion, but I think it'd probably be better if the filesystem functionality was optional, rather than default behaviour.
Like I said, sorry to nitpick, just doesn't seem to run the way one would expect!