I have a target in the makefile called 'data' (taken from cookiecutter) and I am trying to pass an argument to this target which is calling a file like this:
## Make Dataset
data: requirements
$(PYTHON_INTERPRETER) src/data/make_dataset.py
I want to pass some arguments to this make target so they can be captured by the make_dataset.py file and used in main.
The part I tried in make_dataset.py looks like:
@click.command()
@click.option('--cg', default='scope', help= "some help")
def main(cg):
Can someone help me to solve this issue? I want to use this make target like:
make data --cg=xyz