Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

collar project

Global options apply to every command below; see the command index.

Connect the selected repository to its ScottyLabs project

Usage: collar project <COMMAND>

Commands:
  select  Pick a project repository interactively; emits its context
  view    Show declared ownership, features, and the secret namespace
  help    Print this message or the help of the given subcommand(s)

Options:
  -h, --help
          Print help (see a summary with '-h')

Examples:
  collar project view -R ScottyLabs/collar
  collar project select

collar project select

Pick a project repository interactively; emits its context

Usage: collar project select [OPTIONS]

Options:
      --checkout <CHECKOUT>
          Inspect local governance changes instead of the latest canonical revision

          [env: COLLAR_GOVERNANCE]

      --offline


      --json [<FIELDS>]
          Output selected JSON fields (comma-separated); omit fields for all

  -h, --help
          Print help

collar project view

Show declared ownership, features, and the secret namespace

Usage: collar project view [OPTIONS] [REPOSITORY]

Arguments:
  [REPOSITORY]
          Repository name or [HOST/]OWNER/REPO; defaults to the current repository

Options:
      --checkout <CHECKOUT>
          Inspect local governance changes instead of the latest canonical revision

          [env: COLLAR_GOVERNANCE]

      --offline
          Read an existing snapshot without refreshing it

      --json [<FIELDS>]
          Output selected JSON fields (comma-separated); omit fields for all

  -h, --help
          Print help