nf list
List what the project configures (nf list apps) and what synthesis produced (nf list stacks).
Synopsis
nf list apps [OPTIONS]
nf list stacks [OPTIONS]
Both take --outdir PATH, the synthesized output directory (default .nf.out/). In Python, they
are Project().list.apps() and Project().list.stacks() (see nf.sdk).
nf list apps
The apps configured in [tool.nf] (legacy_apps, hybrid_apps). For each:
- selector, which
--apptakes - type:
legacyorhybrid - import spec
- status
- output path, when there is one
A legacy app's status says whether it is synthesized. If its synthesized output holds phased export
bundles, the status is distributable (export-only phased stacks), to set that output apart from
normal local --stack runtime targets.
Use it to answer:
- which apps does this project configure?
- which are legacy, and which hybrid?
- which legacy apps already have synthesized output?
- which legacy apps produce distributable phased export bundles?
nf list stacks
The synthesized legacy stacks in the output tree. For each:
- selector, which
--stacktakes - stack name
- app name
- kind
- status
- path
If the same stack name exists under more than one app, the selector becomes app/stack so it is
unambiguous. Phased export roots are listed for inspection and handoff, marked phased-export /
export-only, not as local runtime stack targets. A project with only hybrid apps has no stacks:
the command says so and points at nf list apps.
Use it when:
- you want to confirm what
nf synthproduced - you need the exact selector for
nf plan --stack ... - you work in a repo with several apps or overlapping stack names
- you need to tell runnable legacy stack roots from phased export-only bundles