parent
9d683e4669
commit
86729a862c
14 changed files with 44 additions and 41 deletions
|
@ -25,14 +25,14 @@ from __future__ import print_function
|
|||
import sys
|
||||
import argparse
|
||||
|
||||
usage = """subscribe --user=<bot's email address> --api-key=<bot's api key> [options] --streams=<streams>
|
||||
usage = """subscribe [options] --streams=<streams>
|
||||
|
||||
Ensures the user is subscribed to the listed streams.
|
||||
|
||||
Examples: subscribe --user=username@example.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --streams=foo
|
||||
subscribe --user=username@example.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --streams='foo bar'
|
||||
Examples: subscribe --streams=foo
|
||||
subscribe --streams='foo bar'
|
||||
|
||||
You can omit --user and --api-key arguments if you have a properly set up ~/.zuliprc
|
||||
Specify your Zulip API credentials and server in a ~/.zuliprc file or using the options.
|
||||
"""
|
||||
|
||||
import zulip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue