Class: Dip::Commands::SSH::Status

Inherits:
Dip::Command show all
Defined in:
lib/dip/commands/ssh.rb

Instance Method Summary collapse

Methods inherited from Dip::Command

exec_program, exec_subprocess

Instance Method Details

#executeObject



54
55
56
# File 'lib/dip/commands/ssh.rb', line 54

def execute
  exec_subprocess("docker", "inspect --format '{{.State.Status}}' ssh-agent")
end