cli: wireviz cli entry point now named 'cli'
This commit is contained in:
parent
2cef8acf68
commit
fc500b6d45
2
setup.py
2
setup.py
@ -32,7 +32,7 @@ setup(
|
|||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": [
|
||||||
"wireviz=wireviz.wv_cli:wireviz",
|
"wireviz=wireviz.wv_cli:cli",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|||||||
@ -73,7 +73,7 @@ epilog = (
|
|||||||
default=False,
|
default=False,
|
||||||
help=f"Output {APP_NAME} version and exit.",
|
help=f"Output {APP_NAME} version and exit.",
|
||||||
)
|
)
|
||||||
def wireviz(file, format, prepend, output_dir, output_name, version):
|
def cli(file, format, prepend, output_dir, output_name, version):
|
||||||
"""
|
"""
|
||||||
Parses the provided FILE and generates the specified outputs.
|
Parses the provided FILE and generates the specified outputs.
|
||||||
"""
|
"""
|
||||||
@ -165,4 +165,4 @@ def wireviz(file, format, prepend, output_dir, output_name, version):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
wireviz()
|
cli()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user