Skip to main content

hello_world/
hello_world.rs

1use pasaka::*;
2
3#[passage]
4fn HelloWorld(mut h: PassageHandle, state: ()) -> PassageResult {
5    h.text("Hello, world!");
6
7    h.choice().build(state)
8}
9
10pub fn main() {
11    CliRunner::run(HelloWorld.with_state(()));
12}