Skip to content

Commit 900fac9

Browse files
committed
Consistency fixes getting smaller
1 parent 4a94797 commit 900fac9

4 files changed

Lines changed: 20 additions & 8 deletions

File tree

src/seqera/commands/actions/__init__.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,10 @@ def view_action(
292292
typer.Option("-w", "--workspace", help="Workspace ID (numeric)"),
293293
] = None,
294294
) -> None:
295-
"""View action details."""
295+
"""View action details.
296+
297+
Either --name or --id must be specified to identify the action.
298+
"""
296299
try:
297300
client = get_client()
298301
output_format = get_output_format()
@@ -931,7 +934,10 @@ def update_action(
931934
),
932935
] = None,
933936
) -> None:
934-
"""Update a Pipeline Action."""
937+
"""Update a Pipeline Action.
938+
939+
Either --name or --id must be specified to identify the action.
940+
"""
935941
from pathlib import Path
936942

937943
try:

src/seqera/commands/launch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def launch(
250250
] = None,
251251
params_file: Annotated[
252252
str | None,
253-
typer.Option("-p", "--params-file", help="Parameters file (JSON/YAML)"),
253+
typer.Option("--params-file", help="Parameters file (JSON/YAML)"),
254254
] = None,
255255
revision: Annotated[
256256
str | None,
@@ -270,7 +270,7 @@ def launch(
270270
] = None,
271271
profile: Annotated[
272272
str | None,
273-
typer.Option("--profile", help="Nextflow profile(s) (comma-separated)"),
273+
typer.Option("-p", "--profile", help="Nextflow profile(s) (comma-separated)"),
274274
] = None,
275275
main_script: Annotated[
276276
str | None,

src/seqera/commands/runs/__init__.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ def relaunch_run(
645645
] = None,
646646
params_file: Annotated[
647647
str | None,
648-
typer.Option("-p", "--params-file", help="Parameters file (JSON/YAML)"),
648+
typer.Option("--params-file", help="Parameters file (JSON/YAML)"),
649649
] = None,
650650
config: Annotated[
651651
str | None,
@@ -661,7 +661,7 @@ def relaunch_run(
661661
] = None,
662662
profile: Annotated[
663663
str | None,
664-
typer.Option("--profile", help="Nextflow profile(s) (comma-separated)"),
664+
typer.Option("-p", "--profile", help="Nextflow profile(s) (comma-separated)"),
665665
] = None,
666666
launch_container: Annotated[
667667
str | None,
@@ -1023,7 +1023,10 @@ def view_task(
10231023
typer.Option("--resources-usage", help="Task resources usage data"),
10241024
] = False,
10251025
) -> None:
1026-
"""Display pipeline's run task details."""
1026+
"""Display pipeline's run task details.
1027+
1028+
The -t option is required to specify the task identifier.
1029+
"""
10271030
try:
10281031
# Get run_id from context if not provided directly
10291032
if ctx.obj and not run_id:

src/seqera/commands/studios/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,10 @@ def add_studio(
914914
typer.Option("-w", "--workspace", help="Workspace ID (numeric)"),
915915
] = None,
916916
) -> None:
917-
"""Add a new studio."""
917+
"""Add a new studio.
918+
919+
Either --template or --custom-template must be specified.
920+
"""
918921
from pathlib import Path
919922

920923
try:

0 commit comments

Comments
 (0)