From 402701dc8efe9b79dc088b17f24b6224fbb6a249 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 7 Aug 2013 11:52:53 -0400 Subject: [PATCH] Rename humbug-send to zulip-send. (imported from commit 61400841f8fffe4c706d867aaa012059bcba271d) --- README.md | 6 +++--- bin/{humbug-send => zulip-send} | 4 ++-- setup.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) rename bin/{humbug-send => zulip-send} (97%) diff --git a/README.md b/README.md index d094a04..8121d10 100644 --- a/README.md +++ b/README.md @@ -69,15 +69,15 @@ msg will describe what went wrong. #### Sending messages -You can use the included `humbug-send` script to send messages via the +You can use the included `zulip-send` script to send messages via the API directly from existing scripts. - humbug-send hamlet@example.com cordelia@example.com -m \ + zulip-send hamlet@example.com cordelia@example.com -m \ "Conscience doth make cowards of us all." Alternatively, if you don't want to use your ~/.zuliprc file: - humbug-send --user shakespeare-bot@example.com \ + zulip-send --user shakespeare-bot@example.com \ --api-key a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 \ hamlet@example.com cordelia@example.com -m \ "Conscience doth make cowards of us all." diff --git a/bin/humbug-send b/bin/zulip-send similarity index 97% rename from bin/humbug-send rename to bin/zulip-send index fe706b2..3cd31ad 100755 --- a/bin/humbug-send +++ b/bin/zulip-send @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# humbug-send -- Sends a message to the specified recipients. +# zulip-send -- Sends a message to the specified recipients. # Copyright © 2012 Zulip, Inc. # @@ -30,7 +30,7 @@ import logging logging.basicConfig() -log = logging.getLogger('humbug-send') +log = logging.getLogger('zulip-send') def do_send_message(client, message_data ): '''Sends a message and optionally prints status about the same.''' diff --git a/setup.py b/setup.py index 33976fc..996d3bf 100644 --- a/setup.py +++ b/setup.py @@ -34,5 +34,5 @@ setup(name='zulip', [('share/humbug/demos', [os.path.join("demos", relpath) for relpath in os.listdir("demos")])], - scripts=["bin/humbug-send"], + scripts=["bin/zulip-send"], )