Skip to content

Commit d57009a

Browse files
edmundmillerclaude
andcommitted
feat: Add preview.package feature flag
Introduces the `nextflow.preview.package` feature flag to enable the unified package management system. This allows users to opt-in to the new `package` directive while maintaining backward compatibility with existing `conda` and `pixi` directives. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> Signed-off-by: Edmund Miller <[email protected]>
1 parent b6455a7 commit d57009a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/nf-lang/src/main/java/nextflow/script/dsl/FeatureFlagDsl.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,10 @@ Defines the DSL version (`1` or `2`).
5555
""")
5656
public boolean previewRecursion;
5757

58+
@FeatureFlag("nextflow.preview.package")
59+
@Description("""
60+
When `true`, enables the unified package management system with the `package` directive.
61+
""")
62+
public boolean previewPackage;
63+
5864
}

0 commit comments

Comments
 (0)