ascii-dresden / asciii

ascii invoicer 3.x
http://ascii-dresden.github.io/asciii/
5 stars 8 forks source link

Make-like Behaviour #33

Closed hoodie closed 8 years ago

hoodie commented 8 years ago

Currently there is ascii invoice and ascii offer to create each output, and ascii open --invoice etc to open them.

ascii v2.5.12 added that ascii show would automatically show an invoice if the even was in the past and an offer if the event is still in the future. This could be adapted to a new asciii make which will automatically create an offer or invoice, depending on the date in relation to the event's date. It can also be explicitly done with sth like asciii make --invoice (#23).

asciii open should behave the same, but in case the file is not up to date, or not yet created, implicitely create it withasciii make`.