Method: When::CLI#init

Defined in:
lib/when-do/cli.rb

#initObject



21
22
23
24
25
# File 'lib/when-do/cli.rb', line 21

def init
  cl_opts = canonicalize_keys(argv_to_hash)
  copy_example_config if cl_opts.has_key? :init
  @options = merge_redis_config_file(merge_config_file(cl_opts))
end