Compare commits
No commits in common. "main" and "dev" have entirely different histories.
1 changed files with 4 additions and 6 deletions
10
src/main.rs
10
src/main.rs
|
|
@ -4,11 +4,7 @@ use std::process;
|
|||
use clap::{Parser, Subcommand};
|
||||
|
||||
#[derive(Parser)]
|
||||
#[command(
|
||||
name = "breadpaper",
|
||||
version,
|
||||
about = "Wallpaper manager for the bread desktop"
|
||||
)]
|
||||
#[command(name = "breadpaper", version, about = "Wallpaper manager for the bread desktop")]
|
||||
struct Cli {
|
||||
/// Image file to set as wallpaper (shorthand for `set`)
|
||||
path: Option<PathBuf>,
|
||||
|
|
@ -20,7 +16,9 @@ struct Cli {
|
|||
#[derive(Subcommand)]
|
||||
enum Command {
|
||||
/// Set wallpaper, generate pywal palette, and reload bread themes
|
||||
Set { path: PathBuf },
|
||||
Set {
|
||||
path: PathBuf,
|
||||
},
|
||||
/// Print the current wallpaper path
|
||||
Get,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue