Changeset View
Changeset View
Standalone View
Standalone View
python_modules/dagster/dagster/cli/workspace/cli_target.py
Show First 20 Lines • Show All 220 Lines • ▼ Show 20 Lines | return [ | ||||
click.option( | click.option( | ||||
"--working-directory", | "--working-directory", | ||||
"-d", | "-d", | ||||
help="Specify working directory to use when loading the repository or pipeline. Can only be used along with -f/--python-file", | help="Specify working directory to use when loading the repository or pipeline. Can only be used along with -f/--python-file", | ||||
), | ), | ||||
click.option( | click.option( | ||||
"--python-file", | "--python-file", | ||||
"-f", | "-f", | ||||
type=click.Path(exists=True), | # Checks that the path actually exists lower in the stack, where we | ||||
# are better equipped to surface errors | |||||
type=click.Path(exists=False), | |||||
help="Specify python file where repository or pipeline function lives", | help="Specify python file where repository or pipeline function lives", | ||||
), | ), | ||||
click.option( | click.option( | ||||
"--module-name", "-m", help="Specify module where repository or pipeline function lives" | "--module-name", "-m", help="Specify module where repository or pipeline function lives" | ||||
), | ), | ||||
click.option( | click.option( | ||||
"--attribute", | "--attribute", | ||||
"-a", | "-a", | ||||
▲ Show 20 Lines • Show All 418 Lines • Show Last 20 Lines |