fchauvel / flap

Flattening LaTeX projects
https://fchauvel.github.io/flap
GNU General Public License v3.0
17 stars 2 forks source link

use argparse #19

Closed Ohjeah closed 7 years ago

Ohjeah commented 7 years ago

A first attempt to make to UI a bit more flexible: installs a flap command (flap vs python -m flap) and lets argparse handle the arguments.

This PR includes also yml test case for #18.

For the future, I'd suggest click. For testing, pytest can help to reduce the boilerplate code to generate the yml testcases.