xpd optimize gate
Commit the fix and run its gate. The gate checks the project, compares findings and records its verdict. A design fix must edit a file that owns a cited checklist item.
Run xpd optimize gate fix-id.
xpd optimize gate [OPTIONS] <FIX>Arguments
Section titled “Arguments”| Argument | What it does |
|---|---|
<FIX> |
Required. |
Options
Section titled “Options”| Option | Default | What it does |
|---|---|---|
--working-tree |
Gate current working-tree changes as a snapshot without committing. Conflicts with --staged. |
|
--staged |
Gate only staged index changes as a snapshot without committing. Conflicts with --working-tree. |
|
--commit <REV> |
Gate this one commit against its parent, leaving out what other writers commit or edit in the same checkout. Conflicts with --working-tree, --staged. |
|
--format <FORMAT> |
Output format. Default: text on a terminal, json otherwise. Values: text, json. |
Example
Section titled “Example”$ xpd optimize gate --help | sed -n '/^Usage:/p'Usage: xpd optimize gate [OPTIONS] <FIX>