emicklei / gmig

Google Cloud Platform migrations tool for infrastructure-as-code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

improve status output

emicklei opened this issue · comments

currently, one list entry produced by gmig status may look like this

2018/08/29 14:54:34 --- applied --- 2018-08-28 07:53:10 20180828t075310 add firewall rule for lb service

Notice the duplicate information about the timestamp. This should be removed.
The meaning of the migration is extracted from the filename.
In practice it is convenient to also print the actual filename of the migration.
Proposal:

2018/08/29 14:54:34 --- applied --- 2018-08-28 07:53:10 add firewall rule for lb service (20180828t075310_add_firewall_rule_for_lb_service)