about summary refs log tree commit diff stats
path: root/src/status/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/status/mod.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/status/mod.rs b/src/status/mod.rs
index 662a391..688ac9a 100644
--- a/src/status/mod.rs
+++ b/src/status/mod.rs
@@ -97,3 +97,11 @@ Dropped  Videos: {dropped_videos_len} ({dropped_videos_changing} changing)
 
     Ok(())
 }
+
+pub fn config(app: &App) -> Result<()> {
+    let config_str = toml::to_string(&app.config)?;
+
+    print!("{}", config_str);
+
+    Ok(())
+}