# File lib/picnic/cli.rb, line 41 def initialize(app, options = {}) @app = app @options = options || {} @options[:app_file] ||= File.expand_path(File.dirname(File.expand_path($0))+"/../lib/#{app}.rb") @options[:app_module] ||= app.capitalize @options[:pid_file] ||= "/etc/#{app}/#{app}.pid" @options[:conf_file] ||= nil @options[:verbose] ||= false end