Using the CLI

Repository commands

Linking connects your local Git checkout to Schematic so Pup can check your 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 Pup includes and how to exclude files.

Usage
pup link [path]

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

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

With a saved login, Pup automatically syncs commits as you create or check them out. Run pup 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
pup unlink [path]
Bash
$ pup unlink .
   Unlinked · text-tools

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