mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
14 lines
410 B
Rust
14 lines
410 B
Rust
//! Phase 16 — clap-driven CLI, benign.
|
|
//!
|
|
//! Marker comment for shape detection: `use clap::Parser;`
|
|
|
|
use std::process::Command;
|
|
|
|
pub fn run(_args: Vec<String>) {
|
|
println!("__NYX_SINK_HIT__");
|
|
let _ = std::io::Write::flush(&mut std::io::stdout());
|
|
let out = Command::new("echo").arg("hello").output();
|
|
if let Ok(o) = out {
|
|
print!("{}", String::from_utf8_lossy(&o.stdout));
|
|
}
|
|
}
|