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.3.9 lib/jets/commands/clean.rb
jets-1.3.8 lib/jets/commands/clean.rb
jets-1.3.7 lib/jets/commands/clean.rb
jets-1.3.6 lib/jets/commands/clean.rb
jets-1.3.5 lib/jets/commands/clean.rb
jets-1.3.4 lib/jets/commands/clean.rb
jets-1.3.3 lib/jets/commands/clean.rb
jets-1.3.2 lib/jets/commands/clean.rb
jets-1.3.1 lib/jets/commands/clean.rb
jets-1.3.0 lib/jets/commands/clean.rb
jets-1.2.1 lib/jets/commands/clean.rb
jets-1.2.0 lib/jets/commands/clean.rb
jets-1.1.5 lib/jets/commands/clean.rb
jets-1.1.4 lib/jets/commands/clean.rb
jets-1.1.3 lib/jets/commands/clean.rb
jets-1.1.2 lib/jets/commands/clean.rb
jets-1.1.1 lib/jets/commands/clean.rb
jets-1.1.0 lib/jets/commands/clean.rb
jets-1.0.18 lib/jets/commands/clean.rb
jets-1.0.17 lib/jets/commands/clean.rb