socket.json

A file containing local project settings to be used by the CLI

The socket.json file is a local configuration file to be consumed by the CLI.

The file contains project/repository level default override for flags and args.

For example, if you do socket scan create --branch=foo, you can instead also run socket scan setup, set a default for the --branch flag to foo, and next time you run socket scan create it will automatically set --branch=foo. And if you use --branch=xyz instead then it will happily use xyz.

Each project root dir needs its own socket.json. Many things here are specific to a project, anyways. Repo name, branch name, manifest configuration, etc.

socket scan create reads its defaults.scan.create values from the nearest socket.json, starting in its working directory (