Rename humbug-send to zulip-send.

(imported from commit 61400841f8fffe4c706d867aaa012059bcba271d)
This commit is contained in:
Tim Abbott 2013-08-07 11:52:53 -04:00 committed by Tim Abbott
parent 084847b0d7
commit 402701dc8e
3 changed files with 6 additions and 6 deletions

View file

@ -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."

View file

@ -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.'''

View file

@ -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"],
)