diff options
author | Akshay <[email protected]> | 2022-01-14 16:51:42 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2022-01-14 16:51:42 +0000 |
commit | 305960c98b3b71d4b915003430730c76fcda3af3 (patch) | |
tree | 09a428186f1aaacca8c4447f2feb7e08aa204217 /bin/src/dump.rs | |
parent | 7d732a051e695353db5a3ddbb26ab766ff736043 (diff) |
add dump command, support version overrides in statix.tomlsession-info
Diffstat (limited to 'bin/src/dump.rs')
-rw-r--r-- | bin/src/dump.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/src/dump.rs b/bin/src/dump.rs new file mode 100644 index 0000000..5ec3f0d --- /dev/null +++ b/bin/src/dump.rs | |||
@@ -0,0 +1,7 @@ | |||
1 | pub mod main { | ||
2 | use crate::{config::ConfFile, err::StatixErr}; | ||
3 | pub fn main() -> Result<(), StatixErr> { | ||
4 | println!("{}", ConfFile::dump(&ConfFile::default())); | ||
5 | Ok(()) | ||
6 | } | ||
7 | } | ||