You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli.md
+8-131Lines changed: 8 additions & 131 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -250,149 +250,26 @@ $ nextflow drop nextflow-io/hello
250
250
251
251
See {ref}`cli-drop` for more information.
252
252
253
-
### Secret management
254
-
255
-
The `secrets` command manages secure pipeline secrets.
256
-
257
-
Use this to store credentials securely, reference them in pipelines without exposing values, and manage sensitive data centrally across your organization.
258
-
259
-
```console
260
-
$ nextflow secrets list
261
-
$ nextflow secrets set AWS_ACCESS_KEY_ID
262
-
$ nextflow secrets delete AWS_ACCESS_KEY_ID
263
-
```
264
-
265
-
See {ref}`cli-secrets` for more information.
266
-
267
253
## Module management
268
254
269
255
:::{versionadded} 26.04.0
270
256
:::
271
257
272
-
The `module` command enables working with reusable, registry-based modules. The Nextflow module system allows you to install, run, search, and publish standardized modules from registries, eliminating duplicate work and sharing improvements with the community.
273
-
274
-
Use these commands to discover modules in registries, install them into your project, run them directly without creating a workflow, and publish your own modules for others to use.
275
-
276
-
### Searching for modules
277
-
278
-
The `module search` command queries the module registry to discover available modules by keyword or name.
279
-
280
-
Use this to find modules for specific tasks, explore available tools, or discover community modules.
Results include module names, versions, descriptions, and download statistics. Use `-limit` to control the number of results and `-output json` for JSON-formatted output.
289
-
290
-
See {ref}`cli-module-search` for more information.
291
-
292
-
### Installing modules
293
-
294
-
The `module install` command downloads modules from a registry and makes them available in your workflow. Modules are stored locally in the `modules/` directory. An additional `.module-info` file is created during to store installation information such as the module checksum at installation and the registry URL.
295
-
296
-
Use this to add reusable modules to your pipeline, manage module versions, or update modules to newer versions.
The installed module will be available in `modules/nf-core/fastqc`.
304
-
305
-
Use the `-force` flag to reinstall a module even if local modifications exist.
306
-
307
-
See {ref}`cli-module-install` for more information.
308
-
309
-
### Listing modules
310
-
311
-
The `module list` command displays all modules currently installed in your project, showing their versions and integrity status.
312
-
313
-
Use this to review installed modules, check module versions, or detect local modifications.
314
-
315
-
```console
316
-
$ nextflow module list
317
-
$ nextflow module list -output json
318
-
```
319
-
320
-
The output shows each module's name, installed version, and whether it has been modified locally. Use `-o json` for JSON-formatted output.
258
+
The `module` command allows you to discover, install, and run modules through a centralized module registry. See {ref}`using-modules-page` and the {ref}`cli-module` command reference for more information.
321
259
322
-
See {ref}`cli-module-list` for more information.
260
+
## Secret management
323
261
324
-
### Viewing module information
325
-
326
-
The `module view` command displays detailed metadata and usage information for a specific module from the registry.
327
-
328
-
Use this to understand module requirements, view input/output specifications, see available tools, or generate usage templates before installing or running a module.
The output includes the module's version, description, authors, keywords, tools, input/output channels, and a generated usage template showing how to run the module. Use `-json` for machine-readable output suitable for programmatic access.
337
-
338
-
See {ref}`cli-module-view` for more information.
339
-
340
-
### Running modules directly
341
-
342
-
The `module run` command executes a module directly from the registry without requiring a wrapper workflow. This provides immediate access to module functionality for ad-hoc tasks or testing.
343
-
344
-
Use this to quickly run a module, test module functionality, or execute one-off data processing tasks.
345
-
346
-
```console
347
-
$ nextflow module run nf-core/fastqc --input 'data/*.fastq.gz'
348
-
$ nextflow module run nf-core/fastqc --input 'data/*.fastq.gz' -version 1.0.0
349
-
```
350
-
351
-
The command accepts all standard Nextflow execution options (`-profile`, `-resume`, etc.):
352
-
353
-
```console
354
-
$ nextflow module run nf-core/salmon \
355
-
--reads reads.fq \
356
-
--index salmon_index \
357
-
-profile docker \
358
-
-resume
359
-
```
360
-
361
-
Process inputs can be specified like params on the command line. For example, `--reads reads.fq` corresponds to the `reads` input in the `nf-core/salmon` module. Run `nextflow module view nf-core/salmon` to see the available params for the module.
362
-
363
-
See {ref}`cli-module-run` for more information.
364
-
365
-
### Removing modules
366
-
367
-
The `module remove` command deletes modules from your project, removing local files and configuration entries.
368
-
369
-
Use this to clean up unused modules, free disk space, or remove deprecated modules from your pipeline.
By default, both local files and configuration entries are removed. Use `-keep-files` to remove the configuration entry and `.module-info` while keeping local files.
377
-
378
-
See {ref}`cli-module-remove` for more information.
379
-
380
-
### Publishing modules
381
-
382
-
The `module publish` command uploads modules to a registry, making them available for others to install and use.
262
+
The `secrets` command manages secure pipeline secrets.
383
263
384
-
Use this to share your modules with the community, contribute to module libraries, or distribute modules within your organization.
264
+
Use this to store credentials securely, reference them in pipelines without exposing values, and manage sensitive data centrally across your organization.
Publishing requires authentication via the `NXF_REGISTRY_TOKEN` environment variable or the `registry.apiKey` config option. The module must include `main.nf`, `meta.yml`, and `README.md` files.
392
-
393
-
Use the {ref}`cli-module-spec` and {ref}`cli-module-validate` commands to prepare and validate a module before publishing.
394
-
395
-
See {ref}`cli-module-publish` for more information.
Copy file name to clipboardExpand all lines: docs/guides/gradle-plugin.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,6 @@ Nextflow provides a new `plugin create` command that simplifies the creation of
6
6
7
7
The [Nextflow Gradle plugin](https://github.com/nextflow-io/nextflow-plugin-gradle) configures default dependencies needed for Nextflow integration and defines Gradle tasks for building, testing, and publishing Nextflow plugins. The Gradle plugin is versioned and published to the [Gradle Plugin Portal](https://plugins.gradle.org/), allowing developers to manage it like any other dependency. As the plugin ecosystem evolves, the Gradle plugin will enable easier maintenance and adoption of improvements. This page introduces [Nextflow Gradle plugin](https://github.com/nextflow-io/nextflow-plugin-gradle) and how to use it.
8
8
9
-
:::{note}
10
-
The Nextflow Gradle plugin and plugin registry are currently available as a public preview. See the {ref}`Migrating to the Nextflow plugin registry <plugin-registry-page>` for more information.
Copy file name to clipboardExpand all lines: docs/migrations/26-04.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ include { BWA_MEM } from 'nf-core/bwa/mem'
44
44
All [nf-core modules](https://github.com/nf-core/modules) are automatically synced to the registry from GitHub. They are available as `nf-core/<name>` as shown above.
45
45
:::
46
46
47
-
See {ref}`module-registry` and the {ref}`cli-module` command reference for details.
47
+
See the {ref}`Modules overview <modules-page>` and {ref}`cli-module` command reference for details.
Copy file name to clipboardExpand all lines: docs/migrations/dsl1.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ Similarly, in DSL2, process outputs can be consumed by multiple consumers automa
100
100
101
101
In DSL1, the entire Nextflow pipeline must be defined in a single file. For example, `main.nf`. This restriction becomes cumbersome as a pipeline grows and hinders the sharing and reuse of pipeline components.
102
102
103
-
DSL2 introduces the concept of "module scripts" (or "modules" for short), which are Nextflow scripts that can be "included" by other scripts. While modules are not essential to migrating to DSL2, nor are they mandatory in DSL2, modules can help you organize a large pipeline into multiple smaller files and take advantage of modules created by others. See {ref}`module-page` to learn more about modules.
103
+
DSL2 introduces the concept of "module scripts" (or "modules" for short), which are Nextflow scripts that can be "included" by other scripts. While modules are not essential to migrating to DSL2, nor are they mandatory in DSL2, modules can help you organize a large pipeline into multiple smaller files and take advantage of modules created by others. See {ref}`modules-page` to learn more about modules.
104
104
105
105
:::{note}
106
106
DSL2 scripts cannot exceed 64 KB in size. Split large DSL1 scripts into modules to avoid this limit.
0 commit comments