cmd: diff
[contents]

Contents

Syntax

The syntax for the diff command is:

nift diff file
nsm diff file

Description

The diff command is for getting the difference of a file between its current state and when the project repository was last committed to Git, it takes a single parameter which should be the path from the project root directory to the file you want to diff.

Example

Example of diff being used:

nift diff "template/page.template"
nsm diff content/index.content