add a verbose flag to list-deliverables
Change-Id: I2366cc3d846c985d0951c7dc11b78b6a4665ab40 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
f826b4ba7a
commit
0af240bb6b
@ -21,6 +21,12 @@ from openstack_releases import deliverable
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument(
|
||||
'-v', '--verbose',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='show more than the deliverable name',
|
||||
)
|
||||
parser.add_argument(
|
||||
'--team',
|
||||
help='the name of the project team, such as "Nova" or "Oslo"',
|
||||
@ -93,4 +99,7 @@ def main():
|
||||
continue
|
||||
if args.unreleased and deliv.versions:
|
||||
continue
|
||||
print(deliv.name)
|
||||
if args.verbose:
|
||||
print('{:30} {:15} {}'.format(deliv.name, deliv.latest_release, deliv.team))
|
||||
else:
|
||||
print(deliv.name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user