Skip to content

Commit

Permalink
HOSTDEV-2778 jissue plugins -- show SEN
Browse files Browse the repository at this point in the history
  • Loading branch information
grzn committed Dec 7, 2017
1 parent ec60c80 commit e95a216
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/infi/jira_cli/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,13 @@ def filters(arguments):
def plugins_show_all(arguments):
from prettytable import PrettyTable
from .plugins import get_plugins
table = PrettyTable(["name", "type", "enabled", "installed version", 'marketplace version', 'license', 'license expires at'])
table = PrettyTable(["name", "type", "enabled", "installed version", 'marketplace version', 'license type', 'license #', 'license expires at'])
table.align = 'l'
for plugin in get_plugins():
table.add_row([plugin.name, plugin.type, plugin.is_enabled(),
plugin.installed_version, plugin.marketplace_version,
'Evaluation' if plugin.license_details.evaluation else plugin.license_details.type,
plugin.license_details.contract_number,
plugin.license_details.end_date])
print(table)

Expand Down

0 comments on commit e95a216

Please sign in to comment.