Sha256: 4132dc719f4f477b9ba7e120ef5b464bf3d024ea017fc5566a9dbed5c6e46e47
Contents?: true
Size: 638 Bytes
Versions: 46
Compression:
Stored size: 638 Bytes
Contents
require "cf/cli/app/base" module CF::App class Restart < Base desc "Stop and start an application" group :apps, :manage input :apps, :desc => "Applications to start", :argument => :splat, :singular => :app, :from_given => by_name(:app) input :debug_mode, :desc => "Debug mode to start in", :aliases => "-d" input :all, :desc => "Restart all applications", :default => false def restart invoke :stop, :all => input[:all], :apps => input[:apps] line unless quiet? invoke :start, :all => input[:all], :apps => input[:apps], :debug_mode => input[:debug_mode] end end end
Version data entries
46 entries across 46 versions & 1 rubygems