Set workflow parameters as CLI parameters
Instead of writing the workflow parameters into a file and referencing it in the Nextflow command, the workflow parameters should set directly as CLI parameters.
Change Nextflow command from
nextflow run hello -params-file /path/to/file.json
to
nextflow run hello --parameter1 value --group1.parameter1 value ...