Sha256: 0df3f4f9156420e4d6569f759960c55c75c7ef5da21de2b82a7d8b7ed5318d5d

Contents?: true

Size: 229 Bytes

Versions: 9

Compression:

Stored size: 229 Bytes

Contents

class Cody::CLI
  class Stop < Base
    def run
      check_build_id!
      run_with_exception_handling do
        codebuild.stop_build(id: build_id)
        puts "Build has been stopped: #{build_id}"
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cody-1.2.1 lib/cody/cli/stop.rb
cody-1.1.0 lib/cody/cli/stop.rb
cody-1.0.6 lib/cody/cli/stop.rb
cody-1.0.5 lib/cody/cli/stop.rb
cody-1.0.4 lib/cody/cli/stop.rb
cody-1.0.3 lib/cody/cli/stop.rb
cody-1.0.2 lib/cody/cli/stop.rb
cody-1.0.1 lib/cody/cli/stop.rb
cody-1.0.0 lib/cody/cli/stop.rb