cfg/bin/slugify
Knut Ahlers 5927c7dcbc
Add simple wrapper around python-slugify
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-29 16:08:40 +02:00

12 lines
188 B
Python
Executable file

#!/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:]))