22 Commits

Author SHA1 Message Date
Daniel Rojas
c3b07cf3dd Add suggestions from #246 2023-09-12 19:58:34 +02:00
Daniel Rojas
fb91be402a Rename modules, adjust imports, move build_examples.py 2023-09-12 19:44:21 +02:00
Daniel Rojas
f2bc5d79f2 Define CLI epilog str in single statement 2023-09-12 19:41:23 +02:00
Daniel Rojas
cc0bd76e99 Break longer lines not caught by black
because they were unbroken strings or comments
2023-09-12 19:41:21 +02:00
Daniel Rojas
d19c260940 Simplify file access operations 2021-10-16 22:27:00 +02:00
Daniel Rojas
08b5124adb Add support for multiple prepended files 2021-10-16 22:26:59 +02:00
Daniel Rojas
e3530702f2 Allow specifying output directory and file name separately 2021-10-16 22:26:59 +02:00
Daniel Rojas
d7d7854bce Consolidate wireviz.parse() to handle Path, str and Dict as input 2021-10-16 22:26:59 +02:00
Daniel Rojas
c89cf735ae Apply some manual fixes, reapply black 2021-10-16 22:09:59 +02:00
Daniel Rojas
f92985a61c Apply black 2021-10-16 22:09:59 +02:00
Daniel Rojas
344615483a Apply isort 2021-10-16 22:09:59 +02:00
Daniel Rojas
fb2aae5515 Split file output logic and object return logic
Use `output_formats` parameter to specify which *files* to output to disk,
Use `return_types` parameter to specify which objects to return to a calling Python script
2021-10-16 22:08:01 +02:00
Daniel Rojas
d6d1fbcf16 Output help string if no arguments are received 2021-10-16 22:08:01 +02:00
Daniel Rojas
a4343ae04c Sort --format flags alphabetically 2021-10-16 22:08:01 +02:00
Daniel Rojas
5b3c2b3297 Add encoding info to wv_cli.py 2021-10-16 22:08:01 +02:00
Daniel Rojas
6a08988ca9 Implement image path resolver 2021-10-16 22:08:01 +02:00
Daniel Rojas
a5b0fbe305 Split the YAML loading and parsing functions 2021-10-16 22:08:00 +02:00
Daniel Rojas
b53ce36046 Fix entry point 2021-10-16 22:08:00 +02:00
Daniel Rojas
d3e99abaa8 Only output requested file types (closes #60) 2021-10-16 22:08:00 +02:00
Daniel Rojas
77f668e553 Add CLI help strings 2021-10-16 22:08:00 +02:00
Daniel Rojas
1df45ab833 Implement working proof of concept 2021-10-16 22:08:00 +02:00
Daniel Rojas
a810bd53ae Add wv_cli.py, add Click requirement, change entry point 2021-10-16 22:08:00 +02:00