cli: wireviz cli entry point now named 'cli'

This commit is contained in:
Laurier Loiselle 2023-01-23 11:59:58 -05:00
parent 2cef8acf68
commit fc500b6d45
No known key found for this signature in database
GPG Key ID: 345920CC72089A3F
2 changed files with 3 additions and 3 deletions

View File

@ -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=[

View File

@ -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()