mirror of
https://github.com/Tech-Workers-Coalition-Italia/mobilizon-reshare.git
synced 2025-03-03 10:57:52 +01:00
cli: inspect_event: Separate paged fields with \t.
This commit is contained in:
parent
2966e90d9d
commit
2d8855f6fe
@ -27,8 +27,8 @@ def show_events(events: Iterable[MobilizonEvent]):
|
||||
|
||||
def pretty(event: MobilizonEvent):
|
||||
return (
|
||||
f"{event.name}|{click.style(event.status.name, fg=status_to_color[event.status])}"
|
||||
f"|{event.mobilizon_id}|{event.begin_datetime.isoformat()}->{event.end_datetime.isoformat()}"
|
||||
f"{event.name}\t{click.style(event.status.name, fg=status_to_color[event.status])}"
|
||||
f"\t{event.mobilizon_id}\t{event.begin_datetime.isoformat()}->{event.end_datetime.isoformat()}"
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user