Method: Command::Init#execute

Defined in:
lib/command/init.rb

#execute(argv) ⇒ Object



60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'lib/command/init.rb', line 60

def execute(argv)
  super
  if Narou.already_init?
    init_aozoraepub3(true)
  else
    Narou.init
    puts "-" * 30
    init_aozoraepub3
    puts "初期化が完了しました!"
    puts "現在のフォルダ下で各種コマンドが使用出来るようになりました。"
    puts "まずは narou help で簡単な説明を御覧ください。"
  end
end