Skip to content

Commit 864d1ed

Browse files
author
Esteban Echeverry
committed
Agregar 'keys' a tabulate para generar los encabezados
1 parent 043d826 commit 864d1ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

taskit/infrastructure/cli/report.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ def report(obj):
1212
@click.pass_obj
1313
def tasks(obj):
1414
result = obj.state_reporter.list_tasks()
15-
click.echo(tabulate(result))
15+
click.echo(tabulate(result, headers='keys'))
1616

1717

1818
@report.command()
1919
@click.pass_obj
2020
def projects(obj):
2121
result = obj.state_reporter.list_projects()
22-
click.echo(tabulate(result))
22+
click.echo(tabulate(result, headers='keys'))

0 commit comments

Comments
 (0)