Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
use std::env::Args;
pub mod args;
pub mod print;
pub fn main(mut args: Args)
{
match args.next()
{
None => panic!("not enough arguments"),
Some(s) if s == "print" => print::main(args, 1),
Some(s) => panic!("unknown argument {s}"),
}
}
|