confirmation_prompt=True,
help='user password')
@click.option('--projects',
- default=None,
+ prompt=True,
+ multiple=True,
help='list of project ids that the user belongs to')
#@click.option('--description',
# default='no description',
exit(1)
table = PrettyTable(['name', 'id'])
for user in resp:
- table.add_row([user['name'], user['_id']])
+ table.add_row([user['username'], user['_id']])
table.align = 'l'
print(table)