Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
663fe0b199
commit
5875c96aa8
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -335,6 +335,7 @@ dependencies = [
|
||||
"serde_json",
|
||||
"serde_yaml",
|
||||
"tokio",
|
||||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -22,6 +22,7 @@ tokio.workspace = true
|
||||
serde_json.workspace = true
|
||||
serde_yaml.workspace = true
|
||||
serde.workspace = true
|
||||
tracing = {version = "0.1.40", features = ["log"]}
|
||||
|
||||
[dev-dependencies]
|
||||
tokio.workspace = true
|
||||
|
@ -35,7 +35,15 @@ pub mod well_known {
|
||||
use super::CuddleX;
|
||||
|
||||
pub async fn render() -> eyre::Result<()> {
|
||||
CuddleX::command("render").run().await?;
|
||||
let (stdout, stderr, _) = CuddleX::command("render").run().await?;
|
||||
|
||||
for line in stdout.lines() {
|
||||
tracing::trace!("render: {}", line);
|
||||
}
|
||||
|
||||
for line in stderr.lines() {
|
||||
tracing::trace!("render: {}", line);
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user