Create CLI-application #13

Closed
opened 2021-08-01 02:48:17 +00:00 by chaoslama · 0 comments
Owner

Using click we can redesign our CLI-application majorly.

As of now we do kinda have flags for different types of document (e.g. "--letter") which disable a lot of options. Now we can basically use those as main entrypoints.

A proposal would be to use the following types as enrypoints:

  • document (this should be the default option)
  • presentation
  • letter
  • newsletter
  • legal

Some options should only apply to certain types.

Using [click](https://click.palletsprojects.com/) we can redesign our CLI-application majorly. As of now we do kinda have flags for different types of document (e.g. "--letter") which disable a lot of options. Now we can basically use those as main entrypoints. A proposal would be to use the following types as enrypoints: - document (this should be the default option) - presentation - letter - newsletter - legal Some options should only apply to certain types.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: chaoslama/make_pdf#13
No description provided.