Sha256: 48fa4991698c5f1a5d3674e277d67b5bbc21cc571148c37023160fe2ed3388e1
Contents?: true
Size: 465 Bytes
Versions: 3
Compression:
Stored size: 465 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" option ["-i","--interactive"], :flag, "interactive" def execute Async.run do Pytty::Client::Api::Attach.run id: id, interactive: interactive? end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pytty-0.5.0 | lib/pytty/client/cli/attach_command.rb |
pytty-0.4.1 | lib/pytty/client/cli/attach_command.rb |
pytty-0.4.0 | lib/pytty/client/cli/attach_command.rb |