|
@ -4,9 +4,14 @@ use clap::Parser; |
|
|
|
|
|
|
|
|
/// Search for a pattern in a file and display the lines that contain it.
|
|
|
/// Search for a pattern in a file and display the lines that contain it.
|
|
|
#[derive(Parser)] |
|
|
#[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 { |
|
|
struct Cli { |
|
|
|
|
|
#[arg(long)] |
|
|
url: String, |
|
|
url: String, |
|
|
|
|
|
#[arg(long)] |
|
|
text: String, |
|
|
text: String, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|