Skip to content

Commit

Permalink
🔥 remove alternate ozi-fix and ozi-new entrypoints throught `…
Browse files Browse the repository at this point in the history
…`ozi``

Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Jul 11, 2024
1 parent 8fb43cb commit 096406f
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions ozi/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
from ozi_core.actions import list_available # pragma: no cover # pyright: ignore
from ozi_core.actions import print_version # pragma: no cover # pyright: ignore

from ozi.fix.__main__ import main as fix_main # pragma: no cover
from ozi.new.__main__ import main as new_main # pragma: no cover

EPILOG = """
METADATA_FIELD choices:
| audience
Expand Down Expand Up @@ -77,20 +74,6 @@
does not create an attorney-client relationship.""",
) # pragma: no cover
tools = parser.add_mutually_exclusive_group() # pragma: no cover
tools.add_argument( # pragma: no cover
'-fix',
action='store_const',
default=lambda: None,
const=fix_main,
help='alternate entrypoint for ozi-fix',
)
tools.add_argument( # pragma: no cover
'-new',
action='store_const',
default=lambda: None,
const=new_main,
help='alternate entrypoint for ozi-new',
)
helpers = parser.add_mutually_exclusive_group() # pragma: no cover
helpers.add_argument(
'-h',
Expand Down Expand Up @@ -150,8 +133,6 @@ def main() -> None: # pragma: no cover
list_available(ozi.list_available)
if ozi.check_license_expr:
license_expression(ozi.check_license_expr)
ozi.fix()
ozi.new()
parser.print_help()


Expand Down

0 comments on commit 096406f

Please sign in to comment.