Global options
These options work before or after the command:
breadbox --project-root .. build
breadbox build --project-root ..
| Option | Default | Description |
|---|---|---|
-p, --project-root <PATH> | Current directory | Your project root. |
--manifest-path <PATH> | Cargo.toml in the project root | Your Cargo.toml. |
--config <PATH> | breadbox.toml in the project root if it exists | Breadbox config. When absent, defaults are used. |
Path resolution
| Path | Resolution |
|---|---|
| Project root | --project-root or the current directory. Resolved to a full path. |
| Cargo manifest | --manifest-path or Cargo.toml in the project root. Relative paths use the project root. Resolved to a full path. |
| Config | --config or breadbox.toml in the project root if that file exists. Relative paths use the project root. Resolved to a full path. |
An explicit --config path must exist. If you pass no config option and breadbox.toml is absent,
breadbox uses built-in defaults.