Create labadoor binary crate calling each librarie's main()
This commit is contained in:
parent
3abf7106fc
commit
ed628b2ee3
6 changed files with 48 additions and 4 deletions
|
@ -62,7 +62,7 @@ fn auth_user(username: String, resource: String) -> Result<(), ()> {
|
|||
return ret;
|
||||
}
|
||||
|
||||
fn main() {
|
||||
pub fn main() {
|
||||
let args: Vec<String> = std::env::args().collect();
|
||||
let method = String::from(&args[1]);
|
||||
let identifier = String::from(&args[2]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue