|
|
@ -4,9 +4,14 @@ use clap::Parser; |
|
|
|
|
|
|
|
/// Search for a pattern in a file and display the lines that contain it.
|
|
|
|
#[derive(Parser)] |
|
|
|
|
|
|
|
#[command(name = "crunk-update")] |
|
|
|
#[command(author = "Crunk")] |
|
|
|
#[command(version = "1.0")] |
|
|
|
#[command(about = "post updates to crunk-schedulers", long_about = None)] |
|
|
|
struct Cli { |
|
|
|
#[arg(long)] |
|
|
|
url: String, |
|
|
|
#[arg(long)] |
|
|
|
text: String, |
|
|
|
} |
|
|
|
|
|
|
|