Sha256: 04e09930fa6e6ec99f0557955844aa5a585037d8469f1c3fa49bfc9ae0a58d3c
Contents?: true
Size: 622 Bytes
Versions: 15
Compression:
Stored size: 622 Bytes
Contents
# -*- encoding: utf-8 -*- module WatchTower module CLI module Open def self.included(base) base.send :include, InstanceMethods end module InstanceMethods def self.included(base) base.class_eval <<-END, __FILE__, __LINE__ + 1 # Open the WatchTower server in the browser # # TODO: Should be able to determine the port of the server. desc "open", "Open the WatchTower in the browser" def open system "open http://localhost:9282" end END end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems