Skip to content

nf diff

Show a formatted diff of planned changes for a synthesized legacy stack.

Synopsis

nf diff [OPTIONS]

What It Does

nf diff:

  1. creates a plan file for the selected stack
  2. runs the legacy CLI show command on that plan
  3. formats the result for easier inspection

Example

nf diff --stack network

Options

  • --stack, -s TEXT: stack selector
  • --legacy-bin TEXT: path to the legacy CLI binary
  • --outdir PATH: synthesized output directory override
  • --color/--no-color: enable or disable color in the diff output

Notes

  • this command is currently for synthesized legacy stacks
  • it is useful when plan output is too noisy for quick inspection