Method: Ghost::Cli#initialize

Defined in:
lib/ghost/cli.rb

#initialize(out = STDOUT) ⇒ Cli

Returns a new instance of Cli.



11
12
13
14
15
16
# File 'lib/ghost/cli.rb', line 11

def initialize(out = STDOUT)
  self.store = Ghost::Store::HostsFileStore.new(section_name: 'ghost')
  self.out   = out

  setup_parser
end