Conversation
Signed-off-by: Phil Ewels <phil.ewels@seqera.io>
Signed-off-by: Phil Ewels <phil.ewels@seqera.io>
Signed-off-by: Phil Ewels <phil.ewels@seqera.io>
Signed-off-by: Phil Ewels <phil.ewels@seqera.io>
Signed-off-by: Phil Ewels <phil.ewels@seqera.io>
…unch Signed-off-by: Phil Ewels <phil.ewels@seqera.io>
Signed-off-by: Phil Ewels <phil.ewels@seqera.io>
Signed-off-by: Phil Ewels <phil.ewels@seqera.io>
Signed-off-by: Phil Ewels <phil.ewels@seqera.io>
| @Parameter(names = ['-name'], description = 'Assign a mnemonic name to the pipeline run') | ||
| String runName | ||
|
|
||
| @Parameter(names = ['-w', '-work-dir'], description = 'Directory where intermediate result files are stored') | ||
| String workDir | ||
|
|
||
| @Parameter(names = ['-r', '-revision'], description = 'Revision of the project to run (either a git branch, tag or commit SHA number)') | ||
| String revision | ||
|
|
||
| @Parameter(names = ['-profile'], description = 'Choose a configuration profile') | ||
| String profile | ||
|
|
||
| @Parameter(names = ['-c', '-config'], description = 'Add the specified file to configuration set') | ||
| List<String> configFiles | ||
|
|
||
| @Parameter(names = ['-params-file'], description = 'Load script parameters from a JSON/YAML file') | ||
| String paramsFile | ||
|
|
||
| @Parameter(names = ['-entry'], description = 'Entry workflow name to be executed') | ||
| String entryName | ||
|
|
||
| @Parameter(names = ['-resume'], description = 'Execute the script using the cached results') | ||
| String resume | ||
|
|
There was a problem hiding this comment.
The kuberun command is extending the CmdRun command to get the same parameters as CmdRun, I am wondering if we could do the same for launch or is there a CmdRun parameter that can't we used in platform.
There was a problem hiding this comment.
I have checked and the API is a restricted set, so it is not viable
| * @author Phil Ewels <phil.ewels@seqera.io> | ||
| */ | ||
| @CompileStatic | ||
| class SpinnerUtil { |
There was a problem hiding this comment.
Is this class jus used in tower or could it be used for other CLI? Maybe move to nextflow.cli package as ColorUtils
|
Doing some test with default values. I got this message. |
You were right - I just found the same bug and fixed it in nextflow-io@1f57a78 Once I pull in the upstream changes here it should hopefully be resolved. |
|
I'm not sure what happened, but some kind of git manipulation on the auth dev work has resulted in there being a 100% lines-of-code merge conflict when I try to rebase or merge on the upstream code 🤦🏻♂️ I'm thinking of just copying the code from this branch over into a new branch on top of Nextflow @ master, but then it'll be difficult to know which changes in auth are improvements from this PR and which are upstream improvements. Otherwise, could maybe try to find the most recent version of the non-rebased auth branch where merging is still possible. Or maybe best is to simply look at the diff on this PR and manually re-implement the changes on a fresh branch against master. I think the latter is probably the one with the best chance of success. I can try to find time to have a stab at this, but I'm very stretched at the moment. @jorgee if you have time tomorrow and fancy trying to sort out this mess then any help would be very welcome 🙌🏻 |
|
Created a draft PR in Nextflow project. nextflow-io#6491 |
First stab at re-writing the new
nextflow launchcommand. Builds off the newauthcommands in nextflow-io#6380Stacked PR, opened it here for initial review so that the diff doesn't get too big. Will reopen it against the main Nextflow repo once nextflow-io#6380 is merged.
This PR includes:
nextflow launchcommandOverview video showing
nextflow launchin action:CleanShot.2025-10-07.at.12.53.13.mp4