Module: StoryTeller::Cli
- Includes:
- Options
- Defined in:
- lib/story_teller/cli.rb
Overview
module Cli
Instance Method Summary collapse
Methods included from Options
Instance Method Details
#main(args = parse_arguments(defaults: StoryTeller::Config.defaults)) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/story_teller/cli.rb', line 28 def main(args = parse_arguments(defaults: StoryTeller::Config.defaults)) Logging.log_level = args[:log_level] application = StoryTeller::Application.new(args) application.load_game application.play_game end |