diff options
| author | Fuwn <[email protected]> | 2022-02-08 15:13:36 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-06-09 00:46:04 -0700 |
| commit | 0ae5e3b93ebcec299619f04da09c024705c98098 (patch) | |
| tree | b4ad1d9befcfec5af6a597ff1c2b5c293b24295a /crates/divina_compile | |
| parent | fix(divina_git): match log style (diff) | |
| download | archived-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.rs | 7 |
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)] |