def run(args):
    ' Adds the subcommand arguments back to main CLI tool '
    data = storage_add_data(args)
    yaml_content = to_storage_yaml(data)
    print('Storage Yaml file for your reference:\n')
    print(yaml_content)
    if args.dry_run:
        return
    if (not args.script_mode):
        answer = ''
        valid_answers = ['yes', 'no', 'n', 'y']
        while (answer not in valid_answers):
            answer = input('Is this correct?(Yes/No): ')
            answer = answer.strip().lower()
        if (answer in ['n', 'no']):
            return
    (config, tempfile_path) = tempfile.mkstemp(prefix='kadalu')
    try:
        with os.fdopen(config, 'w') as tmp:
            tmp.write(yaml_content)
        cmd = (utils.kubectl_cmd(args) + ['create', '-f', tempfile_path])
        resp = utils.execute(cmd)
        print('Storage add request sent successfully')
        print(resp.stdout)
        print()
    except utils.CommandError as err:
        os.remove(tempfile_path)
        utils.command_error(cmd, err.stderr)
    except FileNotFoundError:
        os.remove(tempfile_path)
        utils.kubectl_cmd_help(args.kubectl_cmd)
    finally:
        if os.path.exists(tempfile_path):
            os.remove(tempfile_path)
Adds the subcommand arguments back to main CLI tool
def run(args):
    '  '
    data = storage_add_data(args)
    yaml_content = to_storage_yaml(data)
    print('Storage Yaml file for your reference:\n')
    print(yaml_content)
    if args.dry_run:
        return
    if (not args.script_mode):
        answer = 
        valid_answers = ['yes', 'no', 'n', 'y']
        while (answer not in valid_answers):
            answer = input('Is this correct?(Yes/No): ')
            answer = answer.strip().lower()
        if (answer in ['n', 'no']):
            return
    (config, tempfile_path) = tempfile.mkstemp(prefix='kadalu')
    try:
        with os.fdopen(config, 'w') as tmp:
            tmp.write(yaml_content)
        cmd = (utils.kubectl_cmd(args) + ['create', '-f', tempfile_path])
        resp = utils.execute(cmd)
        print('Storage add request sent successfully')
        print(resp.stdout)
        print()
    except utils.CommandError as err:
        os.remove(tempfile_path)
        utils.command_error(cmd, err.stderr)
    except FileNotFoundError:
        os.remove(tempfile_path)
        utils.kubectl_cmd_help(args.kubectl_cmd)
    finally:
        if os.path.exists(tempfile_path):
            os.remove(tempfile_path)