Struct libkelp::lib::structs::config::KelpDotConfig[][src]

pub struct KelpDotConfig {
    pub homefiles: Option<Vec<FileInfo>>,
    pub rootfiles: Option<Vec<FileInfo>>,
    pub postsave: Option<Vec<Script>>,
    pub prerun: Option<Vec<Script>>,
    pub postrun: Option<Vec<Script>>,
    pub packages: Option<Packages>,
}
Expand description

This is the new Configuration struct

Fields

homefiles: Option<Vec<FileInfo>>

Files stored in $HOME/*

rootfiles: Option<Vec<FileInfo>>

Files relative to /

postsave: Option<Vec<Script>>

Scripts to run AFTER saving the dotfiles

prerun: Option<Vec<Script>>

Scripts to run BEFORE installing the dotfiles. Path relative to $DOTFILES_ROOT

postrun: Option<Vec<Script>>

Scripts to run After installing the dotfiles Path relative to $DOTFILES_ROOT

packages: Option<Packages>

Packages to install

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.