pub enum Commands {
Show 17 variants
Img {
path: PathBuf,
no_theme: bool,
theme: Option<ThemeProvider>,
monitor: Option<String>,
animation: Option<String>,
mode: Option<ScalingMode>,
effect_args: EffectArgs,
},
Set {
path: PathBuf,
no_theme: bool,
theme: Option<ThemeProvider>,
monitor: Option<String>,
animation: Option<String>,
mode: Option<ScalingMode>,
effect_args: EffectArgs,
},
Doctor,
Validate {
path: PathBuf,
},
Config {
subcommand: ConfigCommands,
},
Cache {
subcommand: CacheCommands,
},
Reload,
Monitor {
subcommand: MonitorCommands,
},
Daemon {
max_fps: Option<u32>,
},
New {
name: String,
shader: bool,
},
Watch {
dir: PathBuf,
},
Preview {
path: PathBuf,
watch: bool,
animation: Option<String>,
effect_args: EffectArgs,
},
Install {
package: String,
},
Publish,
Search {
query: String,
},
Ipc {
subcommand: IpcCommands,
},
Quit,
}Variants§
Img
Set wallpaper with animation + theme pipeline
Fields
theme: Option<ThemeProvider>Theme provider override for this call (matugen, wallust, pywal)
mode: Option<ScalingMode>Scaling mode
effect_args: EffectArgsTransition effect + customization flags
Set
Alias/superset of img
Fields
theme: Option<ThemeProvider>Theme provider override for this call (matugen, wallust, pywal)
mode: Option<ScalingMode>Scaling mode
effect_args: EffectArgsTransition effect + customization flags
Doctor
Environment diagnostics
Validate
Lint animation YAML
Config
Configuration management
Fields
subcommand: ConfigCommandsCache
Cache management
Fields
subcommand: CacheCommandsReload
Re-run reload list without changing wallpaper
Monitor
Monitor management
Fields
subcommand: MonitorCommandsDaemon
Start the background wallpaper daemon
New
Create a working animation package starter.
Fields
Watch
Watch a directory for new images and automatically set them
Preview
Preview an animation or wallpaper image
Fields
effect_args: EffectArgsTransition effect + customization flags
Install
Install an animation package from registry or repository
Publish
Publish an animation package to the registry
Search
Search for packages in the registry
Ipc
Control the running daemon via IPC commands
Fields
subcommand: IpcCommandsQuit
Gracefully stop the running daemon (alias for ipc stop)
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.