Skip to main content

wf diff

wf diff

Allows you to see a diff between the existing and supplied resource


Shows the differences between the existing objects and those from the provided files / directories in a yaml format.

wf diff [flags]


# Show the diff of all configuration objects in the current directory
$ wf diff --file ./


      --fail-on-diff   If true gives an error exit code (1) if any diffs are found, Default: 'false'
-f, --file PATH path to file containing resource definition/s ('-' for stdin) PATH
-h, --help help for diff

Options inherited from parent commands

      --debug              Indicates we should use debug / trace logging (default: false)
--force Used to force an operation to happen (default: false)
--no-wait Indicates we should not wait for resources to provision
-o, --output string Output format of the resource (json,yaml,table,template) (default "table")
--profile string Use a profile other than your default for this command
--show-headers Indicates we should display headers on table out (default true)
--verbose Enables verbose logging for debugging purposes (default: false)
-w, --workspace string The workspace you are operating within


  • wf - wf provides a cli for Wayfinder