scripts/setup.rb in standup-0.3.2 vs scripts/setup.rb in standup-0.3.3
- old
+ new
@@ -1,11 +1,15 @@
Standup.script do
self.description = 'Do all setup from scratch and/or incrementally'
- self.default_params = 'ec2 basics ruby postgresql passenger webapp update'
+ self.default_params = 'ec2 basics monit ruby postgresql passenger webapp update'
def run
params.strip.split.each do |name|
scripts[name].titled_run
end
+ end
+
+ def has_script? name
+ params.strip.split.include? name
end
end