Sha256: 3ee130529229f1df189f5d25e6dd9ce6aed94a6958e163d9700d88ca2c367c0e
Contents?: true
Size: 752 Bytes
Versions: 9
Compression:
Stored size: 752 Bytes
Contents
require 'shellwords' module Aptible module CLI module Subcommands module Ps def self.included(thor) thor.class_eval do include Helpers::Operation include Helpers::App desc 'ps', 'Display running processes for an app - DEPRECATED' app_options def ps deprecated('This command is deprecated on Aptible v2 stacks.') app = ensure_app(options) op = app.create_operation!(type: 'ps', status: 'succeeded') ENV['ACCESS_TOKEN'] = fetch_token opts = ['-o', 'SendEnv=ACCESS_TOKEN'] connect_to_ssh_portal(op, *opts) end end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems