lib/vmc/cli.rb in af-0.5.0.beta.4 vs lib/vmc/cli.rb in af-0.5.0.beta.5

- old
+ new

@@ -17,10 +17,12 @@ require "af/version" $vmc_asked_auth = false +$command_args = ARGV.join(" ") + module VMC class CLI < Mothership include VMC::Interactive include VMC::Spacing @@ -181,9 +183,10 @@ crash_file = File.expand_path(VMC::CRASH_FILE) FileUtils.mkdir_p(File.dirname(crash_file)) File.open(crash_file, "w") do |f| + f.puts "Command: #{$command_args}" f.puts "Time of crash:" f.puts " #{Time.now}" f.puts "" f.puts msg f.puts ""