Skip to content

Commit a106f2b

Browse files
authored
Merge pull request #1 from ayenter/ayenter/improve-1
add ids to item-list
2 parents 5ebe333 + ee15f3e commit a106f2b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

SoftLayer/CLI/order/item_list.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from SoftLayer.managers import ordering
88
from SoftLayer.utils import lookup
99

10-
COLUMNS = ['category', 'keyName', 'description']
10+
COLUMNS = ['id', 'category', 'keyName', 'description']
1111

1212

1313
@click.command()
@@ -60,7 +60,7 @@ def cli(env, package_keyname, keyword, category):
6060
categories = sorted_items.keys()
6161
for catname in sorted(categories):
6262
for item in sorted_items[catname]:
63-
table.add_row([catname, item['keyName'], item['description']])
63+
table.add_row([item['id'], catname, item['keyName'], item['description']])
6464
env.fout(table)
6565

6666

0 commit comments

Comments
 (0)