feat(custom_layout): add yaml file support

This commit adds support for loading custom layouts from yaml files, and
also moves the custom layout loading and validating logic into the
komorebi-core crate.

re #50
This commit is contained in:
LGUG2Z
2021-10-18 14:46:23 -07:00
parent 5d6351f48d
commit 6981d778a9
5 changed files with 65 additions and 14 deletions

View File

@@ -299,7 +299,7 @@ struct Load {
#[derive(Clap, AhkFunction)]
struct LoadLayout {
/// File from which the custom layout definition should be loaded
/// JSON or YAML file from which the custom layout definition should be loaded
path: String,
}