Skip to content

Commit 876dd00

Browse files
committed
add missing CLI argument descriptors
1 parent 0726ffc commit 876dd00

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

rsconnect/main.py

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,6 @@ def _warn_on_ignored_requirements(directory: str, requirements_file_name: str):
892892
)
893893
@click.option(
894894
"--override-python-version",
895-
"-op",
896895
help=(
897896
"An optional python version to use instead of the version from "
898897
"the detected environment."
@@ -1042,7 +1041,6 @@ def deploy_notebook(
10421041
)
10431042
@click.option(
10441043
"--override-python-version",
1045-
"-op",
10461044
help=(
10471045
"An optional python version to use instead of the version from "
10481046
"the detected environment."
@@ -1251,7 +1249,6 @@ def deploy_manifest(
12511249
)
12521250
@click.option(
12531251
"--override-python-version",
1254-
"-op",
12551252
help=(
12561253
"An optional python version to use instead of the version from "
12571254
"the detected environment."
@@ -1614,7 +1611,6 @@ def generate_deploy_python(app_mode: AppMode, alias: str, min_version: str, desc
16141611
)
16151612
@click.option(
16161613
"--override-python-version",
1617-
"-op",
16181614
help=(
16191615
"An optional python version to use instead of the version from "
16201616
"the detected environment."
@@ -1792,7 +1788,6 @@ def write_manifest():
17921788
)
17931789
@click.option(
17941790
"--override-python-version",
1795-
"-op",
17961791
help=(
17971792
"An optional python version to use instead of the version from "
17981793
"the detected environment."
@@ -1885,6 +1880,13 @@ def write_manifest_notebook(
18851880
help="Path to Python interpreter whose environment should be used. "
18861881
+ "The Python environment must have the rsconnect package installed.",
18871882
)
1883+
@click.option(
1884+
"--override-python-version",
1885+
help=(
1886+
"An optional python version to use instead of the version from "
1887+
"the detected environment."
1888+
)
1889+
)
18881890
@click.option(
18891891
"--force-generate",
18901892
"-g",
@@ -2009,6 +2011,13 @@ def write_manifest_voila(
20092011
help="Path to Python interpreter whose environment should be used. "
20102012
+ "The Python environment must have the rsconnect package installed.",
20112013
)
2014+
@click.option(
2015+
"--override-python-version",
2016+
help=(
2017+
"An optional python version to use instead of the version from "
2018+
"the detected environment."
2019+
)
2020+
)
20122021
@click.option(
20132022
"--force-generate",
20142023
"-g",
@@ -2190,6 +2199,13 @@ def generate_write_manifest_python(app_mode: AppMode, alias: str, desc: Optional
21902199
help="Path to Python interpreter whose environment should be used. "
21912200
+ "The Python environment must have the rsconnect-python package installed.",
21922201
)
2202+
@click.option(
2203+
"--override-python-version",
2204+
help=(
2205+
"An optional python version to use instead of the version from "
2206+
"the detected environment."
2207+
)
2208+
)
21932209
@click.option(
21942210
"--force-generate",
21952211
"-g",
@@ -2211,6 +2227,7 @@ def manifest_writer(
22112227
entrypoint: Optional[str],
22122228
exclude: tuple[str, ...],
22132229
python: Optional[str],
2230+
override_python_version: Optional[str],
22142231
force_generate: bool,
22152232
verbose: int,
22162233
directory: str,
@@ -2226,6 +2243,7 @@ def manifest_writer(
22262243
entrypoint,
22272244
exclude,
22282245
python,
2246+
override_python_version,
22292247
force_generate,
22302248
verbose,
22312249
directory,

0 commit comments

Comments
 (0)