TestHover itBlock 29 of 44

Test, diff, commit and undo

Around the /test step, Omi CLI gives you /diff, /commit and /undo. Hover the step and the four commands fan out.

One step, four commands

Hover the block above. Hover the /test step and /test, /diff, /commit and /undo fan out of its corner.

How it works in Omi CLI

  1. 01

    /test runs the tests and fixes failures until they pass.

  2. 02

    /diff shows git diff against HEAD, or the session's own changes outside git.

  3. 03

    /commit writes a message from the staged diff for you to approve.

  4. 04

    /undo puts back every file the last task changed, and removes new files.

Try it on your own code.

Free to start, no card. One install, then omi login.

Slide to start free
Slide to start free
install
$ npm install -g @builditomi/cli

Goes well with