Anonymous avatar Anonymous committed 1523191

moved some files

Comments (0)

Files changed (4)

blah

-Asdf
-Asdfsd

code.rb

-command :help do |c|
-  c.desc "Prints the help for the program."
-  c.on_run do |options, args|
-    output = ""
-    
-    if args.empty?
-      output << %Q{
-These are the following commands available:
-}
-      Amp::Command.all_commands.sort.each {|k, v| output << "\t#{k.ljust(30, " ")}#{v.description}" + "\n" }
-      
-      output << %Q{
-Run "amp help [command]" for more information.
-
-}
-    else
-       # so that the logic is in a short screenful and isn't convoluted. This
-        # takes up 
-        status[state.to_sym].each do |file|
-          Amp::UI.say "\t#{File.join(cwd, file)[1..-1]}"
-        end
-        more memory than it would with just branching.
-        stdout_print = proc do
-          # PRINTING TIME!!!!!!!!
-          if options[:hg]
-            status_as_array = [status[:modified],
-                               status[:added],
-                               status[:removed],
-                               status[:deleted],
-                               status[:unknown],
-                               status[:ignored],
-                               status[:clean]
-      unless cmd = Amp::Command[args.first]
-        output = "The command #{args.first} was not found."
-      else
-        output = cmd.help.empty? ? cmd.description : cmd.help
-        opts = cmd.options.map do |h|
-          ['', h[:options][:short] || "\t", "--" + h[:name].to_s, h[:desc]].join("  ")
-        end
-        output << "\n\n" << "The following options are available:\n" << opts.join("\n")
-        output << "\n\n" << "The options available for `amp` are also available for subcommands."
-        output << "\n"   << "Run `amp --help` to see global options."
-      end
-      
-    end
-    
-    Amp::UI.say output
-  end
-end
+Asdf
+Asdfsd
+command :help do |c|
+  c.desc "Prints the help for the program."
+  c.on_run do |options, args|
+    output = ""
+    
+    if args.empty?
+      output << %Q{
+These are the following commands available:
+}
+      Amp::Command.all_commands.sort.each {|k, v| output << "\t#{k.ljust(30, " ")}#{v.description}" + "\n" }
+      
+      output << %Q{
+Run "amp help [command]" for more information.
+
+}
+    else
+       # so that the logic is in a short screenful and isn't convoluted. This
+        # takes up 
+        status[state.to_sym].each do |file|
+          Amp::UI.say "\t#{File.join(cwd, file)[1..-1]}"
+        end
+        more memory than it would with just branching.
+        stdout_print = proc do
+          # PRINTING TIME!!!!!!!!
+          if options[:hg]
+            status_as_array = [status[:modified],
+                               status[:added],
+                               status[:removed],
+                               status[:deleted],
+                               status[:unknown],
+                               status[:ignored],
+                               status[:clean]
+      unless cmd = Amp::Command[args.first]
+        output = "The command #{args.first} was not found."
+      else
+        output = cmd.help.empty? ? cmd.description : cmd.help
+        opts = cmd.options.map do |h|
+          ['', h[:options][:short] || "\t", "--" + h[:name].to_s, h[:desc]].join("  ")
+        end
+        output << "\n\n" << "The following options are available:\n" << opts.join("\n")
+        output << "\n\n" << "The options available for `amp` are also available for subcommands."
+        output << "\n"   << "Run `amp --help` to see global options."
+      end
+      
+    end
+    
+    Amp::UI.say output
+  end
+end
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.