#!/usr/bin/env ruby require 'aipim-rails' path = File.expand_path(File.dirname(__FILE__))+"/../" if ARGV[0] == 'generate' system('mkdir -p aipim') system('mkdir -p aipim/screenshots') system('cp '+path+'lib/screenshot.rb features/support/') elsif ARGV[0] == 'html' ConvertToHtml.init("aipim/markdown.md") else Parser.init("features/login.feature") end