Commit e7453f1d authored by Fabio Pelosin's avatar Fabio Pelosin

[#188] Cleanup

parent 762400ea
# from https://github.com/aanand/deadweight
begin
require 'colored'
rescue LoadError
class String
%w(red green blue yellow).each do |color|
define_method(color) { self }
end
end
end
module Pod module Pod
class Command class Command
class List < Command class List < Command
include DisplayPods include DisplayPods
def self.banner def self.banner
%{List all pods: %{List all pods:
$ pod list [DAYS] $ pod list
Lists all available pods. Lists all available pods.
...@@ -27,6 +14,7 @@ module Pod ...@@ -27,6 +14,7 @@ module Pod
Lists the pods introduced in the master repo since the given number of days.} Lists the pods introduced in the master repo since the given number of days.}
end end
def self.options def self.options
" --stats Show additional stats (like GitHub watchers and forks)\n" + " --stats Show additional stats (like GitHub watchers and forks)\n" +
super super
......
module Pod module Pod
class Command class Command
class Search < Command class Search < Command
include DisplayPods include DisplayPods
def self.banner def self.banner
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment