Add simple wrapper around python-slugify

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-09-29 16:08:40 +02:00
parent 17333daedc
commit 5927c7dcbc
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

12
bin/slugify Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env python
from slugify import slugify
import sys
def main(args):
print slugify(' '.join(args))
return 0
if __name__ == '__main__':
sys.exit(main(sys.argv[1:]))