diff options
author | metamuffin <metamuffin@disroot.org> | 2022-08-29 14:23:08 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-08-29 14:23:08 +0200 |
commit | ca1c303ae20370fff555c0b8fca1b66f946eee3e (patch) | |
tree | 4463b292e27e5d093242262cac7a904ee8003f33 /tools/src/main.rs | |
download | metamuffin-blog-ca1c303ae20370fff555c0b8fca1b66f946eee3e.tar metamuffin-blog-ca1c303ae20370fff555c0b8fca1b66f946eee3e.tar.bz2 metamuffin-blog-ca1c303ae20370fff555c0b8fca1b66f946eee3e.tar.zst |
starting
Diffstat (limited to 'tools/src/main.rs')
-rw-r--r-- | tools/src/main.rs | 17 |
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!()) +} |