Skip to content

Commit

Permalink
🔨 add --check-package-exists bool to interactive args
Browse files Browse the repository at this point in the history
refactor menu system

Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Jun 23, 2024
1 parent d387c9f commit f79d467
Show file tree
Hide file tree
Showing 3 changed files with 328 additions and 209 deletions.
2 changes: 1 addition & 1 deletion ozi/new/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def main(args: list[str] | None = None) -> None: # pragma: no cover
ozi_new.argv = args if args else shlex.join(sys.argv[1:])
match ozi_new:
case ozi_new if ozi_new.new in ['i', 'interactive']:
args = interactive_prompt()
args = interactive_prompt(ozi_new)
ozi_new = parser.parse_args(args=args)
main(args)
case ozi_new if ozi_new.new in ['p', 'project']:
Expand Down
Loading

0 comments on commit f79d467

Please sign in to comment.