Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
e3rd committed Sep 25, 2024
1 parent c6667d0 commit 5b08309
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mininterface/cli_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ def run_tyro_parser(env_class: Type[EnvClass],
# Some arguments are missing. Determine which.
wf = {}
for arg in eavesdrop.partition(":")[2].strip().split(", "):
print("117: parser._actions", parser._actions) # TODO
print("118: arg", arg) # TODO
argument: Action = next(iter(p for p in parser._actions if arg in p.option_strings))
argument.default = "DEFAULT" # NOTE I do not know whether used
if "." in argument.dest:
Expand Down

0 comments on commit 5b08309

Please sign in to comment.