Sha256: 5dde05ed6bbd213e22b4b76f05b56301fa209de808a53915840ed835a57c444a

Contents?: true

Size: 378 Bytes

Versions: 2

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 StdoutCommand < Clamp::Command
        parameter "ID", "id"

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pytty-0.4.1 lib/pytty/client/cli/stdout_command.rb
pytty-0.4.0 lib/pytty/client/cli/stdout_command.rb