lib/standup_md/cli.rb in standup_md-0.3.5 vs lib/standup_md/cli.rb in standup_md-0.3.6

- old
+ new

@@ -2,11 +2,10 @@ require 'optparse' require_relative 'cli/helpers' module StandupMD - ## # Class for handing the command-line interface. class Cli include Helpers @@ -64,13 +63,13 @@ def initialize(options = [], load_config = true) @config = self.class.config @preference_file_loaded = false @options = options load_preferences if load_config - set_preferences(options) + load_runtime_preferences(options) @file = StandupMD::File.find_by_date(@config.date) @file.load - @entry = set_entry(@file) + @entry = new_entry(@file) end ## # Load the preference file. #