pub fn install_target(
target_path: &Path,
output_dir: PathBuf,
overwrite: bool,
) -> Result<InstallSummary, CoreError>Expand description
Install a target TOML into the user config and record its output directory.
The target file is validated (same rules as discovery), copied to
~/.config/chromasync/targets/<name>.toml, and a [[targets]] entry is
upserted into the config. Refuses to replace an already-installed target
file unless overwrite is set; the same flag is recorded in the config so
subsequent generation force-overwrites that target’s artifacts.