Upload files to "/"
This commit is contained in:
commit
1dc9787944
9 changed files with 5785 additions and 0 deletions
17
src/main.rs
Normal file
17
src/main.rs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
//main.rs
|
||||
mod cli;
|
||||
mod webview;
|
||||
|
||||
use anyhow::Result;
|
||||
|
||||
fn main() {
|
||||
if let Err(err) = run() {
|
||||
eprintln!("error: {err:#}");
|
||||
std::process::exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
fn run() -> Result<()> {
|
||||
let cli = cli::Cli::parse_args();
|
||||
webview::launch_webkit(&cli)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue