//! Generate a workflow and write it to `.github/workflows/ci.yml`.
//!
//! ```text
//! cargo run --example write_to_disk
//! ```
//!
//! Writes into a temporary directory by default so running the example
//! doesn't overwrite the host repo's CI file. Set
//! `DEV_CI_WRITE_TARGET=.github/workflows/ci.yml` to write into the
//! current crate instead.
use PathBuf;
use Generator;