<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -631,8 +631,8 @@ to attach them to the start of each source file to most effectively
 state the exclusion of warranty; and each file should have at least
 the &quot;copyright&quot; line and a pointer to where the full notice is found.
 
-    &lt;one line to give the program's name and a brief idea of what it does.&gt;
-    Copyright (C) &lt;year&gt;  &lt;name of author&gt;
+    Suprails: The customizable wrapper to the rails command
+    Copyright (C) 2008  Bradley Grzesiak
 
     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
   If the program does terminal interaction, make it output a short
 notice like this when it starts in an interactive mode:
 
-    &lt;program&gt;  Copyright (C) &lt;year&gt;  &lt;name of author&gt;
+    Suprails  Copyright (C) 2008  Bradley Grzesiak
     This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
     This is free software, and you are welcome to redistribute it
     under certain conditions; type `show c' for details.</diff>
      <filename>COPYING</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,7 @@
 #! /usr/bin/env ruby
-# Suprails
+#
+# Suprails: The customizable wrapper to the rails command
+#
 # Copyright 2008 Bradley Grzesiak
 # This file is part of Suprails.
 # 
@@ -42,19 +44,24 @@ class Suprails
   #     installs the gems into the vendor folder
   # --freeze-rails
   #     freezes rails a la rake rails:freeze:gems
+  # --update-gems
+  #     checks for new versions of gems before installing them
+  # --save-opts
+  #     saves (overwrites) the given options to ~/.suprails
   def parse_command_line(args)
     while args.length &gt; 0
       case current = args.shift
       when '--git'
         @options[:git] = true
-        nil
       when '--gems'
         gem_string = args.shift
         @options[:gems] = gem_string.split(' ')
-        nil
       when '--freeze-rails'
         @options[:freeze_rails] = true
-        nil
+      when '--update-gems'
+        @options[:update_gems] = true
+      when '--save-opts'
+        @options[:save_opts] = true
       else
         puts &quot;invalid argument: #{current}&quot;
       end
@@ -63,21 +70,20 @@ class Suprails
   
   def create_project
     puts &quot;application creation not yet implemented&quot;
-    puts &quot;you were about to create an app called '#{@app_name}'&quot;
-    if @options.length &gt; 0
-      puts &quot;with options:&quot;
-      @options.each do |key, opt|
-        puts &quot;    #{key}&quot;
-      end
-    else
-      puts &quot;without any options&quot;
-    end
+    puts &quot;you were about to create an app:&quot;
+    puts to_s
     
     # run_rails
   end
   
   def to_s
-    &quot;Rails appname: #{@app_name}\nOptions: (not implemented)&quot;
+    ret = &quot;Rails appname: #{@app_name}\nOptions:\n&quot;
+    if @options.length &gt; 0
+      @options.each {|key,opt| ret += &quot;  #{key}\n&quot;}
+    else
+      ret += &quot;  none&quot;
+    end
+    ret
   end
   
   private
@@ -93,20 +99,23 @@ puts &quot;Behold, this is Suprails&quot;
 
 suprails = Suprails.new
 execute_rails = false
+interactive_mode = false
 
 case opts.length
 when 0
-  # TODO: interactive
-  puts '0 argument given, quitting'
+  interactive_mode = true
 when 1
-  # TODO: create a rails app based on saved preferences
-  suprails.app_name = opts[0]
+  suprails = Suprails.new opts[0]
   execute_rails = true
 else
-  # TODO: parse the arguments and create a rails app
-  suprails.app_name = opts.shift
+  suprails = Suprails.new opts.shift
   suprails.parse_command_line(opts)
   execute_rails = true
 end
 
-suprails.create_project if execute_rails
\ No newline at end of file
+if execute_rails
+  suprails.create_project
+elsif interactive_mode
+  #TODO: write interactive mode
+  puts 'interactive mode not yet implemented, quitting'
+end
\ No newline at end of file</diff>
      <filename>bin/suprails.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a6c5652bf7776e38911897a9102d7b125165b4de</id>
    </parent>
  </parents>
  <author>
    <name>Bradley Grzesiak</name>
    <email>listrophy@gmail.com</email>
  </author>
  <url>http://github.com/listrophy/suprails/commit/722251f66e50e806bb3d6aaf1fd2f9535b6c04a3</url>
  <id>722251f66e50e806bb3d6aaf1fd2f9535b6c04a3</id>
  <committed-date>2008-10-11T10:23:40-07:00</committed-date>
  <authored-date>2008-10-11T10:23:40-07:00</authored-date>
  <message>added more functionality to suprails, DRYed it up a bit, and made slight fixes to the bottom of COPYING</message>
  <tree>edd970e9476be80510c31ed99417ec66083e0a72</tree>
  <committer>
    <name>Bradley Grzesiak</name>
    <email>listrophy@gmail.com</email>
  </committer>
</commit>
