diff --git a/capella_ros_tools/__main__.py b/capella_ros_tools/__main__.py index 30f124c..c40c1db 100644 --- a/capella_ros_tools/__main__.py +++ b/capella_ros_tools/__main__.py @@ -23,9 +23,9 @@ @click.option( "--exists-action", "action", - type=click.Choice(["k", "o", "a"], case_sensitive=False), + type=click.Choice(["k", "o", "a", "c"], case_sensitive=False), default="c" if sys.stdin.isatty() else "a", - help="Default action when an element already exists: (k)eep, (o)verwrite, (a)bort.", + help="Default action when an element already exists: (c)heck, (k)eep, (o)verwrite, (a)bort.", ) @click.option("--port", "-p", type=int, help="Port for HTML display.") @click.option( @@ -43,7 +43,7 @@ nargs=2, type=( click.Choice(["capella", "messages"]), - click.Path(exists=True, path_type=Path), + click.Path(path_type=Path), ), required=True, help="Output file type and path.", diff --git a/capella_ros_tools/display/templates/class.html b/capella_ros_tools/display/templates/class.html index 6e41fc7..f22e83b 100644 --- a/capella_ros_tools/display/templates/class.html +++ b/capella_ros_tools/display/templates/class.html @@ -55,9 +55,137 @@