aboutsummaryrefslogtreecommitdiff
path: root/tools/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-08-29 14:23:08 +0200
committermetamuffin <metamuffin@disroot.org>2022-08-29 14:23:08 +0200
commitca1c303ae20370fff555c0b8fca1b66f946eee3e (patch)
tree4463b292e27e5d093242262cac7a904ee8003f33 /tools/src
downloadmetamuffin-blog-ca1c303ae20370fff555c0b8fca1b66f946eee3e.tar
metamuffin-blog-ca1c303ae20370fff555c0b8fca1b66f946eee3e.tar.bz2
metamuffin-blog-ca1c303ae20370fff555c0b8fca1b66f946eee3e.tar.zst
starting
Diffstat (limited to 'tools/src')
-rw-r--r--tools/src/main.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/src/main.rs b/tools/src/main.rs
new file mode 100644
index 0000000..0167e3c
--- /dev/null
+++ b/tools/src/main.rs
@@ -0,0 +1,17 @@
+use clap::Parser;
+use laby::{html, Render};
+
+#[derive(Parser)]
+struct Args {
+ input: String,
+ output: String,
+}
+
+fn main() {
+ let args = Args::parse();
+
+}
+
+fn scaffold(title: String, body: impl Render) -> impl Render {
+ html!(head!(title!(title)), body!())
+}