Sha256: db2f899521a532f835e17b200970848ddb1e5d5348a6e2474d0cd55b0c29a6f4

Contents?: true

Size: 207 Bytes

Versions: 3

Compression:

Stored size: 207 Bytes

Contents

require 'billd/status'

module Billd
	class Cli
		def self.execute args
			uri = args.shift
			status = Billd::Status.new(uri)
			STDOUT.puts status.builds.map { |build| build.to_s }.join "\n"
		end
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
billd-0.0.3 lib/billd/cli.rb
billd-0.0.2 lib/billd/cli.rb
billd-0.0.1 lib/billd/cli.rb