Sha256: 3e98df182a40b0f8badbb89eb6c8be720f24de01df2b4fef9d881d5447d8f965

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

require 'clamp'
require 'launchy'
require 'acs2aws/acs_server'

module Acs2aws
  module Cli
    class RefreshCommand < Clamp::Command
      def execute
        srv = Acs2aws::AcsServer.new
        Launchy.open("http://localhost:#{Acs2aws::SERVER_PORT}/")
        srv.instance.run!
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acs2aws-0.2.0 lib/acs2aws/cli/refresh.rb