Apply suggestions from code review
Co-authored-by: kvid <kvid@users.noreply.github.com>
This commit is contained in:
parent
9d1700c4a0
commit
0fed30aa05
@ -137,7 +137,7 @@ mywire.tsv BOM (bill of materials) as tab-separated text file
|
||||
mywire.html HTML page with wiring diagram and BOM embedded
|
||||
```
|
||||
|
||||
Wildcars in the file path are also supported to process multiple files at once, e.g.:
|
||||
Wildcards in the file path are also supported to process multiple files at once, e.g.:
|
||||
```
|
||||
$ wireviz ~/path/to/files/*.yml
|
||||
```
|
||||
|
||||
@ -31,7 +31,11 @@ epilog = (
|
||||
)
|
||||
|
||||
|
||||
@click.command(epilog=epilog, no_args_is_help=True)
|
||||
@click.command(
|
||||
epilog=epilog,
|
||||
no_args_is_help=True,
|
||||
context_settings=dict(help_option_names=["-h", "--help"]),
|
||||
)
|
||||
@click.argument("file", nargs=-1)
|
||||
@click.option(
|
||||
"-f",
|
||||
|
||||
@ -22,8 +22,8 @@ from wireviz.wv_colors import (
|
||||
)
|
||||
from wireviz.wv_utils import (
|
||||
NumberAndUnit,
|
||||
awg_equiv,
|
||||
aspect_ratio,
|
||||
awg_equiv,
|
||||
mm2_equiv,
|
||||
parse_number_and_unit,
|
||||
remove_links,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user