management: Create list realms command.

Fixes #5917.
This commit is contained in:
Vishnu Ks
2017-08-04 17:10:44 +00:00
committed by Tim Abbott
parent 63f7b9a579
commit e7f5da83ac
2 changed files with 79 additions and 1 deletions

View File

@@ -25,7 +25,8 @@ class ZulipBaseCommand(BaseCommand):
dest='realm_id',
required=required,
type=str,
help='The numeric or string ID (subdomain) of the Zulip organization to modify.')
help='The numeric or string ID (subdomain) of the Zulip organization to modify. '
'You can use the command list_realms to find ID of the realms in this server.')
def get_realm(self, options):
# type: (Dict[str, Any]) -> Optional[Realm]