Adding first block
This commit is contained in:
20
src/entrypoint.rs
Normal file
20
src/entrypoint.rs
Normal file
@@ -0,0 +1,20 @@
|
||||
use clap::{App, Arg};
|
||||
|
||||
pub fn main() {
|
||||
let matches = App::new("Emojifier")
|
||||
.version("1.0")
|
||||
.author("Daniel T. <dtomlinson@panaetius.co.uk")
|
||||
.about("Applies Emoji effects to text")
|
||||
.arg(
|
||||
Arg::new("input")
|
||||
.required(true)
|
||||
.takes_value(true)
|
||||
.about("Text to emojify"),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("hands")
|
||||
.long("hands")
|
||||
.about("TURNS 👏 YOUR 👏 TEXT 👏 INTO 👏 THIS"),
|
||||
)
|
||||
.get_matches();
|
||||
}
|
||||
Reference in New Issue
Block a user