from typing import List
from typing import Union
from pathlib import Path


def cli_args(tmpdir) -> List[Union[Path, str]]:
    """
    Fixture simulating a set of CLI arguments.

    Returns:
        List of args.

    """
    in_folder = Path("requirements.in")
    assert in_folder.exists()
    out_folder = Path(tmpdir).joinpath("fake_requirements")
    tld = Path(tmpdir)
    ignore = "linting"
    return [in_folder, out_folder, tld, ignore]