about summary refs log tree commit diff stats
path: root/crates/yt_dlp/examples/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/yt_dlp/examples/main.rs')
-rw-r--r--crates/yt_dlp/examples/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/yt_dlp/examples/main.rs b/crates/yt_dlp/examples/main.rs
new file mode 100644
index 0000000..b3a2dd5
--- /dev/null
+++ b/crates/yt_dlp/examples/main.rs
@@ -0,0 +1,5 @@
+fn main() {
+    let yt_dlp = yt_dlp::options::YoutubeDLOptions::new().build().unwrap();
+
+    dbg!(yt_dlp.version().unwrap());
+}