Skip to content

ADR: nextflow tree command#7196

Draft
edmundmiller wants to merge 3 commits into
masterfrom
adr-nextflow-tree
Draft

ADR: nextflow tree command#7196
edmundmiller wants to merge 3 commits into
masterfrom
adr-nextflow-tree

Conversation

@edmundmiller

Copy link
Copy Markdown
Member

Summary

  • add a draft ADR for an agent-friendly nextflow tree command
  • define the concise workflow/subworkflow/module outline format
  • cover aliases, unresolved includes/calls, duplicates, partial parse failures, and JSON/DOT output

Testing

  • not run; documentation-only change

@netlify

netlify Bot commented Jun 2, 2026

Copy link
Copy Markdown

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit a35bb45
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/6a22e8bed2d8cc0008fe415b

@bentsherman bentsherman changed the title Add ADR for nextflow tree command ADR: nextflow tree command Jun 8, 2026
Signed-off-by: Edmund Miller <edmund.miller@seqera.io>
Signed-off-by: Edmund Miller <edmund.miller@seqera.io>
@netlify

netlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

Deploy Preview for nextflow-docs canceled.

Name Link
🔨 Latest commit f44204d
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs/deploys/6a39abc654f69b0008d31ea1

@bentsherman

Copy link
Copy Markdown
Member

This could also be a plugin command:

nextflow plugin nf-tree:run [options]

A plugin command can do anything, so just re-use the parsing infra from the lint command.

See also: https://github.com/nextflow-io/language-server/blob/main/src/main/java/nextflow/lsp/services/script/WorkspacePreviewProvider.java

(the LSP backend for rendering the project tree in VS Code)

…tflow tree

Per review (bentsherman): record `nextflow plugin nf-tree:run` as a delivery
alternative that can reuse the lint command's parsing infrastructure, and cite
the language server's WorkspacePreviewProvider as the closest prior art in the
implementation sketch.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Edmund Miller <edmund.miller@seqera.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants