more stuff
This commit is contained in:
7
Cargo.lock
generated
7
Cargo.lock
generated
@@ -1,7 +0,0 @@
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "simple_media_upscale_lite_cli"
|
||||
version = "0.1.0"
|
||||
12
Cargo.toml
12
Cargo.toml
@@ -1,12 +0,0 @@
|
||||
[package]
|
||||
name = "simple_media_upscale_lite_cli"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[lib]
|
||||
name = "lib"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[dependencies]
|
||||
@@ -1,3 +0,0 @@
|
||||
pub fn test2 () {
|
||||
println!("HELLO WORLD!!!")
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
mod handler;
|
||||
use crate::handler::test2;
|
||||
|
||||
pub fn test() {
|
||||
println!("Test");
|
||||
test2();
|
||||
}
|
||||
22
src/main.rs
22
src/main.rs
@@ -1,22 +0,0 @@
|
||||
use std::env;
|
||||
use lib;
|
||||
|
||||
fn main() {
|
||||
println!(r"
|
||||
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
|
||||
██ ▄▄▄ ██▄██ ▄▀▄ █▀▄▄▀█ ██ ▄▄██ ▄▀▄ █ ▄▄█ ▄▀██▄██ ▄▄▀██ ██ █▀▄▄▀█ ▄▄█▀▄▀█ ▄▄▀█ ██ ▄▄█ ▄▄▀██ █████▄██▄ ▄█ ▄▄
|
||||
██▄▄▄▀▀██ ▄█ █▄█ █ ▀▀ █ ██ ▄▄██ █ █ █ ▄▄█ █ ██ ▄█ ▀▀ ██ ██ █ ▀▀ █▄▄▀█ █▀█ ▀▀ █ ██ ▄▄█ ▀▀▄██ █████ ▄██ ██ ▄▄
|
||||
██ ▀▀▀ █▄▄▄█▄███▄█ ████▄▄█▄▄▄██ ███ █▄▄▄█▄▄██▄▄▄█▄██▄██▄▀▀▄█ ████▄▄▄██▄██▄██▄█▄▄█▄▄▄█▄█▄▄██ ▀▀ █▄▄▄██▄██▄▄▄
|
||||
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
||||
|
||||
==> You are running CLI Version 2.0.0-alpha1
|
||||
");
|
||||
|
||||
// Parse cli arguments
|
||||
let args: Vec<String> = env::args().collect();
|
||||
let length = args.len();
|
||||
println!("{length}");
|
||||
let query = &args[ 1 ];
|
||||
println!("{query}");
|
||||
lib::test();
|
||||
}
|
||||
Reference in New Issue
Block a user