summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..06346a2
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,14 @@
+mod context;
+use context::Context;
+
+fn main() {
+ println!("Hello, world!");
+
+ let ctx = Context::new_with_args().unwrap();
+
+ println!("{:?}", ctx);
+
+ for file in ctx.get_image_files().unwrap() {
+ println!("{}", file.display());
+ }
+}