Skip to content

Commit

Permalink
undo part of latest commit
Browse files Browse the repository at this point in the history
  • Loading branch information
popenta committed Jan 31, 2024
1 parent 905ef7d commit 1bedab1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions multiversx_sdk_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,10 @@ def main(cli_args: List[str] = sys.argv[1:]):

def _do_main(cli_args: List[str]):
utils.ensure_folder(config.SDK_PATH)
# argv_with_config_args = config.add_config_args(cli_args)
# parser = setup_parser(argv_with_config_args)
# argcomplete.autocomplete(parser)
# args = parser.parse_args(argv_with_config_args)

parser = setup_parser(cli_args)
argv_with_config_args = config.add_config_args(cli_args)
parser = setup_parser(argv_with_config_args)
argcomplete.autocomplete(parser)
args = parser.parse_args(cli_args)
args = parser.parse_args(argv_with_config_args)

if args.verbose:
logging.basicConfig(level="DEBUG", force=True, format='%(name)s: %(message)s', handlers=[RichHandler(show_time=False, rich_tracebacks=True)])
Expand Down

0 comments on commit 1bedab1

Please sign in to comment.