diff options
author | mms <git@sapka.me> | 2024-11-25 00:11:05 +0100 |
---|---|---|
committer | mms <git@sapka.me> | 2024-11-25 00:11:05 +0100 |
commit | fcdfb62d0f9ca9773da57e20286b8623c2c866f5 (patch) | |
tree | e47b0d22548261f8690c3802445eb2ddab062c48 /bin | |
parent | c2623f1aa3638c988026b28f6a4131df6c61e0c6 (diff) |
feat: mailig list rule
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chotto | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7,6 +7,10 @@ require_relative '../lib/chotto' CONFIG_FILEPATH = 'chotto/config.rb' XDG_HOME = ENV.fetch('XDG_CONFIG_HOME', "#{Dir.home}/.config") def start_chotto(options) + Chotto.configure do + config.only_new = options.fetch(:only_new, false) + end + config_file = File.read("#{XDG_HOME}/#{CONFIG_FILEPATH}") instance_eval(config_file) eval_rules(options) |