@@ -1095,8 +1095,10 @@ def _warn_on_ignored_requirements(directory: str, requirements_file_name: str):
10951095 type = click .Path (dir_okay = False ),
10961096 default = "requirements.txt" ,
10971097 help = (
1098- "Path to requirements file to record in the manifest instead of detecting the environment. "
1099- "Must be inside the notebook directory. Use 'none' to capture via pip freeze."
1098+ "Path to requirements file listing the project dependencies. "
1099+ "Any file compatible with requirements.txt format or uv.lock is accepted, "
1100+ "a requirements.txt.lock retrieved with 'rsconnect content get-lockfile' is also supported. "
1101+ "Must be inside the project directory."
11001102 ),
11011103)
11021104@click .option (
@@ -1274,8 +1276,10 @@ def deploy_notebook(
12741276 type = click .Path (dir_okay = False ),
12751277 default = "requirements.txt" ,
12761278 help = (
1277- "Path to requirements file to record in the manifest instead of detecting the environment. "
1278- "Must be inside the notebook directory. Use 'none' to capture via pip freeze."
1279+ "Path to requirements file listing the project dependencies. "
1280+ "Any file compatible with requirements.txt format or uv.lock is accepted, "
1281+ "a requirements.txt.lock retrieved with 'rsconnect content get-lockfile' is also supported. "
1282+ "Must be inside the project directory."
12791283 ),
12801284)
12811285@click .option (
@@ -1529,8 +1533,10 @@ def deploy_manifest(
15291533 type = click .Path (dir_okay = False ),
15301534 default = "requirements.txt" ,
15311535 help = (
1532- "Path to requirements file to record in the manifest instead of detecting the environment. "
1533- "Must be inside the project directory. Use 'none' to capture via pip freeze."
1536+ "Path to requirements file listing the project dependencies. "
1537+ "Any file compatible with requirements.txt format or uv.lock is accepted, "
1538+ "a requirements.txt.lock retrieved with 'rsconnect content get-lockfile' is also supported. "
1539+ "Must be inside the project directory."
15341540 ),
15351541)
15361542@click .option (
@@ -1957,8 +1963,10 @@ def generate_deploy_python(app_mode: AppMode, alias: str, min_version: str, desc
19571963 "-r" ,
19581964 type = click .Path (dir_okay = False ),
19591965 help = (
1960- "Path to requirements file to record in the manifest instead of detecting the environment. "
1961- "Must be inside the deployment directory. Use 'none' to capture via pip freeze."
1966+ "Path to requirements file listing the project dependencies. "
1967+ "Any file compatible with requirements.txt format or uv.lock is accepted, "
1968+ "a requirements.txt.lock retrieved with 'rsconnect content get-lockfile' is also supported. "
1969+ "Must be inside the project directory."
19621970 ),
19631971 )
19641972 @click .option (
@@ -2175,8 +2183,10 @@ def write_manifest():
21752183 "-r" ,
21762184 type = click .Path (dir_okay = False ),
21772185 help = (
2178- "Path to requirements file to record in the manifest instead of detecting the environment. "
2179- "Must be inside the notebook directory. Use 'none' to capture via pip freeze."
2186+ "Path to requirements file listing the project dependencies. "
2187+ "Any file compatible with requirements.txt format or uv.lock is accepted, "
2188+ "a requirements.txt.lock retrieved with 'rsconnect content get-lockfile' is also supported. "
2189+ "Must be inside the project directory."
21802190 ),
21812191)
21822192@click .option (
@@ -2292,8 +2302,10 @@ def write_manifest_notebook(
22922302 "-r" ,
22932303 type = click .Path (exists = True , dir_okay = False ),
22942304 help = (
2295- "Path to requirements file to record in the manifest instead of detecting the environment. "
2296- "Must be inside the notebook directory. Use 'none' to capture via pip freeze."
2305+ "Path to requirements file listing the project dependencies. "
2306+ "Any file compatible with requirements.txt format or uv.lock is accepted, "
2307+ "a requirements.txt.lock retrieved with 'rsconnect content get-lockfile' is also supported. "
2308+ "Must be inside the project directory."
22972309 ),
22982310)
22992311@click .option (
@@ -2445,7 +2457,9 @@ def write_manifest_voila(
24452457 "-r" ,
24462458 type = click .Path (dir_okay = False ),
24472459 help = (
2448- "Path to requirements file to record in the manifest instead of detecting the environment. "
2460+ "Path to requirements file listing the project dependencies. "
2461+ "Any file compatible with requirements.txt format or uv.lock is accepted, "
2462+ "a requirements.txt.lock retrieved with 'rsconnect content get-lockfile' is also supported. "
24492463 "Must be inside the project directory."
24502464 ),
24512465)
@@ -2660,8 +2674,10 @@ def generate_write_manifest_python(app_mode: AppMode, alias: str, desc: Optional
26602674 "-r" ,
26612675 type = click .Path (dir_okay = False ),
26622676 help = (
2663- "Path to requirements file to record in the manifest instead of detecting the environment. "
2664- "Must be inside the application directory. Use 'none' to capture via pip freeze."
2677+ "Path to requirements file listing the project dependencies. "
2678+ "Any file compatible with requirements.txt format or uv.lock is accepted, "
2679+ "a requirements.txt.lock retrieved with 'rsconnect content get-lockfile' is also supported. "
2680+ "Must be inside the project directory."
26652681 ),
26662682 )
26672683 @click .option (
0 commit comments