Commit 559e273a authored by Adam Brenecki's avatar Adam Brenecki

Add wordjoin script

parent 8636534b
#!/usr/bin/env pyscript click --
import click
@click.option('--mode', type=click.Choice(('twitter', 'every')), default='every')
def main(input_str, mode):
if mode == 'twitter':
print(input_str.replace('@', '@\u2060').replace('#', '#\u2060').replace('$', '$\u2060'))
if mode == 'every':
if __name__ == "__main__":
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment