Remove references for unsupported output formats
Remove the references in the CLI help, but keep the placeholders elsewhere in the code as a TODO
This commit is contained in:
parent
0fed30aa05
commit
701815874c
@ -44,10 +44,8 @@ def parse(
|
||||
* "harness": the diagram as a Harness Python object
|
||||
|
||||
Supported output formats:
|
||||
* "csv": the BOM, as a comma-separated text file
|
||||
* "gv": the diagram, as a GraphViz source file
|
||||
* "html": the diagram and (depending on the template) the BOM, as a HTML file
|
||||
* "png": the diagram, as a PNG raster image
|
||||
* "pdf": the diagram and (depending on the template) the BOM, as a PDF file
|
||||
* "svg": the diagram, as a SVG vector image
|
||||
* "tsv": the BOM, as a tab-separated text file
|
||||
@ -81,6 +79,7 @@ def parse(
|
||||
* SVG data
|
||||
* a Harness object
|
||||
"""
|
||||
# TODO: add CSV and PDF to docstring once they are supported
|
||||
|
||||
if not output_formats and not return_types:
|
||||
raise Exception("No output formats or return types specified")
|
||||
|
||||
@ -14,11 +14,11 @@ from wireviz import APP_NAME, __version__
|
||||
from wireviz.wv_utils import open_file_read
|
||||
|
||||
format_codes = {
|
||||
"c": "csv",
|
||||
# "c": "csv", # TODO: support CSV
|
||||
"g": "gv",
|
||||
"h": "html",
|
||||
"p": "png",
|
||||
"P": "pdf",
|
||||
# "P": "pdf", # TODO: support PDF
|
||||
"s": "svg",
|
||||
"t": "tsv",
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user