Trait dotfiles_core::action::Action
source · pub trait Action<'a> {
// Required method
fn execute(&self) -> Result<(), DotfilesError>;
}
Expand description
An action to be run by a the dotfiles runtime.
Required Methods§
sourcefn execute(&self) -> Result<(), DotfilesError>
fn execute(&self) -> Result<(), DotfilesError>
Executes the action.
Returns an error String describing the issue, this string can be used to log or display to the user.