This commit is contained in:
9
sqlite_bin/Cargo.toml
Normal file
9
sqlite_bin/Cargo.toml
Normal file
@@ -0,0 +1,9 @@
|
||||
[package]
|
||||
name = "sqlite_bin"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
sqlite_core = { path = "../sqlite_core" }
|
9
sqlite_bin/src/main.rs
Normal file
9
sqlite_bin/src/main.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use sqlite_core::app::App;
|
||||
use std::process::exit;
|
||||
|
||||
fn main() -> Result<(), String> {
|
||||
App::new()
|
||||
.with_commandline_interaction()
|
||||
.with_on_exit_handler(|| exit(0))
|
||||
.run()
|
||||
}
|
Reference in New Issue
Block a user