Crate dotfiles_core

source ·
Expand description

The core of Dotfiles-rs is basically a set of directives that can build executable actions from configuration sources (StrictYaml is the only supported configuration source so far).

Directives are responsible for parsing configuration from the configuration source, applying default settings if necessary, and using these to build actions that can be executed.

The base traits and classes for these building blocks can be found in the action and directive modules. The yaml_util module is a set of helper functions for Directives to parse configuration.

Re-exports§

Modules§

  • This module contains the base trait for all Actions.
  • This module contains the base trait for all Directive and all necessary conveniences to allow for user-configuration of directive defaults.
  • Module for the error handling classes and enums.
  • Wraps some logic to run external commands and handle errors
  • Contains helpful functions to deal with paths in the context of parsing them for dotfiles configs.
  • This module contains the definition of a setting and code to parse them.
  • Module that defines helper functions to process YAML configuration sources.