def get_input_type(args):
    """Find input handler with its corresponding parameters based on CLI arguments.

    :param `argparse.Namespace` args: `argparse.Namespace` instance.

    :return: tuple of input type and corresponding options
    :rtype: tuple
    """
    input_type = None
    options = []

    if args.interactive:
        input_type = 'interactive'
    elif args.file:
        input_type = 'file'
        options.append(args.file)
    elif args.request:
        input_type = 'inline'
        options.append(args.request)
    elif args.stdin:
        input_type = 'stdin'

    return (input_type, options)