Update nix flake

This commit is contained in:
2025-01-07 21:02:49 +03:00
parent a1cafdfb8b
commit ffe9bfe466
2 changed files with 12 additions and 2 deletions

View File

@@ -67,6 +67,10 @@ func loadCfg() application.Config {
})
flag.Func("mode", "Organizing mode", func(s string) error {
if s == "" {
}
cfg.Mode = application.Mode(s)
if !slices.Contains(application.SupportedModes, cfg.Mode) {