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 config

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

Manage nonsecret user defaults

Usage: collar config <COMMAND>

Commands:
  get    Show saved nonsecret settings and their file location
  set    Save the default forge host
  unset  Remove a saved default
  help   Print this message or the help of the given subcommand(s)

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

Examples:
  collar config get
  collar config set host git.cmu.dev

collar config get

Show saved nonsecret settings and their file location

Usage: collar config get [OPTIONS]

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

  -h, --help
          Print help

collar config set

Save the default forge host

Usage: collar config set <KEY> <VALUE>

Arguments:
  <KEY>
          [possible values: host]

  <VALUE>


Options:
  -h, --help
          Print help

collar config unset

Remove a saved default

Usage: collar config unset <KEY>

Arguments:
  <KEY>
          [possible values: host]

Options:
  -h, --help
          Print help