BarnDog

CLI overview

The barndog command runs on each developer's machine and delivers your organization's setup into native harnesses.

barndog is BarnDog's local client. It signs you in, chooses which harnesses to manage, installs and syncs assets, and lets you edit and review Skills from the terminal.

Organization setup, teams, repositories, and permissions are managed in the web workspace, not the CLI.

Commands

CommandWhat it does
barndog loginSign in through your browser
barndog logoutRevoke and remove this machine's credential
barndog auth statusShow who you are signed in as
barndog initChoose the harnesses BarnDog manages
barndog syncBring your harnesses in line with your selections
barndog skillsFind, install, pull, and inspect published Skills
barndog pull, status, diff, push, resolveEdit a Skill and suggest the change
barndog changesReview and merge Suggested Changes

Running barndog with no command starts first-time setup. If you're already set up, it shows where your configuration is.

Getting help

Every command has built-in help:

barndog --help
barndog help sync
barndog changes comment --help

Origins

Many commands take --origin to say which scope owns an asset:

  • org
  • team/<slug>
  • repo/<slug>
  • dev/<handle>
  • me for your own personal assets

You can also pass a scope's UUID, or the colon form such as team:engineering. See Core concepts.

Files

The CLI keeps everything for your user under ~/.barndog/. See Configuration files.

On this page