def post_parse_setup(args):
    """Perform additional setup after parsing arguments."""
    if hasattr(args, "MODEL") and args.subcommand != "rm":
        resolved_model = shortnames.resolve(args.MODEL)
        if resolved_model:
            args.UNRESOLVED_MODEL = args.MODEL
            args.MODEL = resolved_model
    if hasattr(args, "runtime_args"):
        args.runtime_args = shlex.split(args.runtime_args)

    configure_logger("DEBUG" if args.debug else "WARNING")
Perform additional setup after parsing arguments.
ramalama/cli.py