Sha256: 07be674e1a4e3991b8bb69473b6e5af4884953a154be03d27e780310af804d1d

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true
require 'async'
require 'async/http'
require 'async/http/internet'
require 'json'

module Pytty
  module Client
    module Cli
      class AttachCommand < Clamp::Command
        parameter "ID", "id"

        def execute
          Async.run do
            Pytty::Client::Api::Attach.run id: id
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pytty-0.3.0 lib/pytty/client/cli/attach_command.rb