Jun 28 - Update cli.py
This commit is contained in:
+3
-1
@@ -31,11 +31,13 @@ def _cmd_list_plans(_args):
|
|||||||
print('No plans found. Run: python -m control.cli seed')
|
print('No plans found. Run: python -m control.cli seed')
|
||||||
return
|
return
|
||||||
for p in plans:
|
for p in plans:
|
||||||
|
price = p.stripe_price_id or '(not set)'
|
||||||
print(f' [{p.code}] {p.name} '
|
print(f' [{p.code}] {p.name} '
|
||||||
f'users={p.max_users} facilities={p.max_facilities} '
|
f'users={p.max_users} facilities={p.max_facilities} '
|
||||||
f'insp/mo={p.max_inspections_month} issues/mo={p.max_issues_month} '
|
f'insp/mo={p.max_inspections_month} issues/mo={p.max_issues_month} '
|
||||||
f'custom_domain={p.allow_custom_domain} mobile={p.allow_mobile_api} '
|
f'custom_domain={p.allow_custom_domain} mobile={p.allow_mobile_api} '
|
||||||
f'sched_reports={p.allow_scheduled_reports} branding={p.allow_branding}')
|
f'sched_reports={p.allow_scheduled_reports} branding={p.allow_branding} '
|
||||||
|
f'stripe_price_id={price}')
|
||||||
|
|
||||||
|
|
||||||
def _cmd_create_superadmin(args):
|
def _cmd_create_superadmin(args):
|
||||||
|
|||||||
Reference in New Issue
Block a user