Skip to main content

spawn_db/
lib.rs

1pub mod cli;
2pub mod commands;
3pub mod config;
4pub mod engine;
5pub mod escape;
6pub mod migrator;
7pub mod pinfile;
8pub mod sql_formatter;
9pub mod sqltest;
10pub mod store;
11pub mod telemetry;
12pub mod template;
13pub mod variables;
14
15/// Display the telemetry notice to stderr
16pub fn show_telemetry_notice() {
17    eprintln!("▶ Spawn collects anonymous usage data.");
18    eprintln!("  This helps us improve Spawn.");
19    eprintln!("  Set \"telemetry = false\" in spawn.toml or use DO_NOT_TRACK=1 to opt-out.");
20    eprintln!();
21}