Compare commits

..

No commits in common. "main" and "dev" have entirely different histories.
main ... dev

View file

@ -4,11 +4,7 @@ use std::process;
use clap::{Parser, Subcommand}; use clap::{Parser, Subcommand};
#[derive(Parser)] #[derive(Parser)]
#[command( #[command(name = "breadpaper", version, about = "Wallpaper manager for the bread desktop")]
name = "breadpaper",
version,
about = "Wallpaper manager for the bread desktop"
)]
struct Cli { struct Cli {
/// Image file to set as wallpaper (shorthand for `set`) /// Image file to set as wallpaper (shorthand for `set`)
path: Option<PathBuf>, path: Option<PathBuf>,
@ -20,7 +16,9 @@ struct Cli {
#[derive(Subcommand)] #[derive(Subcommand)]
enum Command { enum Command {
/// Set wallpaper, generate pywal palette, and reload bread themes /// Set wallpaper, generate pywal palette, and reload bread themes
Set { path: PathBuf }, Set {
path: PathBuf,
},
/// Print the current wallpaper path /// Print the current wallpaper path
Get, Get,
} }