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.0.16 lib/jets/commands/clean.rb
jets-1.0.15 lib/jets/commands/clean.rb
jets-1.0.13 lib/jets/commands/clean.rb
jets-1.0.12 lib/jets/commands/clean.rb
jets-1.0.11 lib/jets/commands/clean.rb
jets-1.0.10 lib/jets/commands/clean.rb
jets-1.0.9 lib/jets/commands/clean.rb
jets-1.0.8 lib/jets/commands/clean.rb
jets-1.0.7 lib/jets/commands/clean.rb
jets-1.0.6 lib/jets/commands/clean.rb
jets-1.0.5 lib/jets/commands/clean.rb
jets-1.0.4 lib/jets/commands/clean.rb
jets-1.0.3 lib/jets/commands/clean.rb
jets-1.0.2 lib/jets/commands/clean.rb
jets-1.0.1 lib/jets/commands/clean.rb
jets-1.0.0 lib/jets/commands/clean.rb
jets-0.10.4 lib/jets/commands/clean.rb
jets-0.10.3 lib/jets/commands/clean.rb
jets-0.10.2 lib/jets/commands/clean.rb
jets-0.10.1 lib/jets/commands/clean.rb