tower-cli icon indicating copy to clipboard operation
tower-cli copied to clipboard

Allow to pass single parameters at `tw launch` command

Open jordeu opened this issue 4 years ago • 1 comments

Description

Current launch version only allow to pass parameters using a file, with the option --params. To mimic as much as possible the nextflow run ... command here we propose to add the option to pass pipeline parameters from the command line.

Example usage

tw launch pditommaso/nf-sleep -P timeout=20 or tw launch pditommaso/nf-sleep --param timeout=20

Implementation details.

  • See picocli map options here.
  • We propose to use -P uppercase, to avoid confusion with the nextflow run ... -p that refers to profile.
  • If the user provides a params file and also command line parameters, the command line parameters should override the file parameters.

jordeu avatar Nov 03 '21 15:11 jordeu

I would really like this as well! Especially for input and outdir parameters which change for every launch.

benbfly avatar Nov 23 '23 11:11 benbfly