aboutsummaryrefslogtreecommitdiff
path: root/crates/divina_compile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-02-08 15:13:36 -0800
committerFuwn <[email protected]>2025-06-09 00:46:04 -0700
commit0ae5e3b93ebcec299619f04da09c024705c98098 (patch)
treeb4ad1d9befcfec5af6a597ff1c2b5c293b24295a /crates/divina_compile
parentfix(divina_git): match log style (diff)
downloadarchived-divina-0ae5e3b93ebcec299619f04da09c024705c98098.tar.xz
archived-divina-0ae5e3b93ebcec299619f04da09c024705c98098.zip
feat(cli): config compiler show subcommand
Diffstat (limited to 'crates/divina_compile')
-rw-r--r--crates/divina_compile/src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/divina_compile/src/lib.rs b/crates/divina_compile/src/lib.rs
index ec37f6d..603066e 100644
--- a/crates/divina_compile/src/lib.rs
+++ b/crates/divina_compile/src/lib.rs
@@ -283,6 +283,13 @@ impl Compiler {
}
}
}
+
+ #[must_use]
+ pub fn print_config(&self) -> &Self {
+ println!("{:?}", self);
+
+ self
+ }
}
#[cfg(windows)]