benlinton / slugify Goto Github PK
View Code? Open in Web Editor NEWBash command that converts filenames and directories to a web friendly format.
License: MIT License
Bash command that converts filenames and directories to a web friendly format.
License: MIT License
Hi, I created Awesome package manager and I can install your repo using it.
After installing the Awesome:
awesome -i benlinton/slugify
# or
awesome install benlinton/slugify
If you can put it in your README, it will be awesome.
Thanks.
Shin
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.