Using the CLI

Repository commands

Linking lets Super CLI sync your source to Schematic for checking supertests against a specific version of your code.

Sync the source from your current commit to Schematic. Your repository needs at least one commit; a Git remote isn’t required.

Linking leaves your files and Git state unchanged. See Source and commits for which files the CLI includes and how to exclude files.

Usage
super link [path]

path defaults to your current directory. A path to a subdirectory still links the whole repository.

Bash
$ super link .
  ✓ Linked text-tools · main · 8e44bea
  Next: super check

With a saved login, Super CLI automatically syncs commits as you create or check them out. Run super check to check your supertests.

Each clone or Git worktree needs its own link. Switching branches or checking out another commit doesn’t require relinking.

Stop automatic syncing for the repository containing path, or your current directory if you omit the path.

Usage
super unlink [path]
Bash
$ super unlink .
  ✓ Unlinked · text-tools

Unlinking doesn’t delete synced source or check history, or cancel checks already running.