    for arg in arg_prompts:
        parser.add_argument(arg)

    args = parser.parse_args()

    for arg, prompt in arg_prompts.items():
        if vars(args)[arg] is None:
            vars(args)[arg] = input(prompt)

Make this code more concise Please answer in JSON format.
user