Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions rsconnect/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ def _warn_on_ignored_requirements(directory: str, requirements_file_name: str):
@click.option(
"--requirements-file",
"-r",
type=click.Path(exists=True, dir_okay=False),
type=click.Path(dir_okay=False),
default="requirements.txt",
help=(
"Path to requirements file to record in the manifest instead of detecting the environment. "
Expand Down Expand Up @@ -1191,7 +1191,7 @@ def deploy_notebook(
@click.option(
"--requirements-file",
"-r",
type=click.Path(exists=True, dir_okay=False),
type=click.Path(dir_okay=False),
default="requirements.txt",
help=(
"Path to requirements file to record in the manifest instead of detecting the environment. "
Expand Down Expand Up @@ -1425,7 +1425,7 @@ def deploy_manifest(
@click.option(
"--requirements-file",
"-r",
type=click.Path(exists=True, dir_okay=False),
type=click.Path(dir_okay=False),
default="requirements.txt",
help=(
"Path to requirements file to record in the manifest instead of detecting the environment. "
Expand Down Expand Up @@ -1824,7 +1824,7 @@ def generate_deploy_python(app_mode: AppMode, alias: str, min_version: str, desc
@click.option(
"--requirements-file",
"-r",
type=click.Path(exists=True, dir_okay=False),
type=click.Path(dir_okay=False),
help=(
"Path to requirements file to record in the manifest instead of detecting the environment. "
"Must be inside the deployment directory. Use 'none' to capture via pip freeze."
Expand Down Expand Up @@ -2032,7 +2032,7 @@ def write_manifest():
@click.option(
"--requirements-file",
"-r",
type=click.Path(exists=True, dir_okay=False),
type=click.Path(dir_okay=False),
help=(
"Path to requirements file to record in the manifest instead of detecting the environment. "
"Must be inside the notebook directory. Use 'none' to capture via pip freeze."
Expand Down Expand Up @@ -2302,7 +2302,7 @@ def write_manifest_voila(
@click.option(
"--requirements-file",
"-r",
type=click.Path(exists=True, dir_okay=False),
type=click.Path(dir_okay=False),
help=(
"Path to requirements file to record in the manifest instead of detecting the environment. "
"Must be inside the project directory."
Expand Down Expand Up @@ -2517,7 +2517,7 @@ def generate_write_manifest_python(app_mode: AppMode, alias: str, desc: Optional
@click.option(
"--requirements-file",
"-r",
type=click.Path(exists=True, dir_okay=False),
type=click.Path(dir_okay=False),
help=(
"Path to requirements file to record in the manifest instead of detecting the environment. "
"Must be inside the application directory. Use 'none' to capture via pip freeze."
Expand Down
Loading