Skip to content

Commit

Permalink
show tier in application list (#17)
Browse files Browse the repository at this point in the history
* show tier in application list

* fix flake8 formatting
  • Loading branch information
hjacobs authored Nov 6, 2019
1 parent 04b3d97 commit d244c93
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kio/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,10 @@ def list_apps(config, output, since, team, incident_contact, **kwargs):
rows.sort(key=lambda r: r['id'])

with OutputFormat(output):
print_table(['id', 'team_id', 'incident_contact', 'name', 'subtitle', 'last_modified_time'],
rows, titles={'last_modified_time': 'Modified'}, max_column_widths={'name': 32, 'subtitle': 32})
print_table(['id', 'team_id', 'criticality_level', 'incident_contact',
'name', 'subtitle', 'last_modified_time'],
rows, titles={'last_modified_time': 'Modified', 'criticality_level': 'Tier'},
max_column_widths={'name': 32, 'subtitle': 32})


@applications.command('show')
Expand Down

0 comments on commit d244c93

Please sign in to comment.