Sha256: 285322c26a4aa05b1db1d2f628b761bae2ac15bd168d0da53055ad3adaf48d29

Contents?: true

Size: 699 Bytes

Versions: 125

Compression:

Stored size: 699 Bytes

Contents

module Jets::Commands
  class Clean < Jets::Commands::Base
    autoload :Base, 'jets/commands/clean/base'
    autoload :Log, 'jets/commands/clean/log'
    autoload :Build, 'jets/commands/clean/build'

    class_option :noop, type: :boolean, desc: "noop or dry-run mode"
    class_option :mute, type: :boolean, desc: "mute output"
    class_option :sure, type: :boolean, desc: "bypass are you sure prompt"

    desc "log", "Cleans CloudWatch log groups assocated with app"
    long_desc Help.text('clean:log')
    def log
      Log.new(options).clean
    end

    desc "build", "Cleans jets build"
    long_desc Help.text('clean:build')
    def build
      Build.new(options).clean
    end
  end
end

Version data entries

125 entries across 125 versions & 2 rubygems

Version Path
jets-1.9.7 lib/jets/commands/clean.rb
jets-1.9.6 lib/jets/commands/clean.rb
jets-1.9.5 lib/jets/commands/clean.rb
jets-1.9.4 lib/jets/commands/clean.rb
jets-1.9.3 lib/jets/commands/clean.rb
jets-1.9.2 lib/jets/commands/clean.rb
jets-1.9.1 lib/jets/commands/clean.rb
jets-1.9.0 lib/jets/commands/clean.rb
jets-1.8.14 lib/jets/commands/clean.rb
jets-1.8.13 lib/jets/commands/clean.rb
jets-1.8.12 lib/jets/commands/clean.rb
jets-1.8.11 lib/jets/commands/clean.rb
jets-1.8.10 lib/jets/commands/clean.rb
jets-1.8.9 lib/jets/commands/clean.rb
jets-1.8.8 lib/jets/commands/clean.rb
jets-1.8.7 lib/jets/commands/clean.rb
jets-1.8.6 lib/jets/commands/clean.rb
jets-1.8.5 lib/jets/commands/clean.rb
jets-1.8.4 lib/jets/commands/clean.rb
jets-1.8.3 lib/jets/commands/clean.rb