Skip to content

Doesn't really follow the Unix principles #3

@adamkdean

Description

@adamkdean

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions