Method: Ec2ssh::CLI#remove

Defined in:
lib/ec2ssh/cli.rb

#removeObject



38
39
40
41
42
43
44
45
46
# File 'lib/ec2ssh/cli.rb', line 38

def remove
  check_dotfile_existence
  check_dotfile_version
  command = make_command :remove
  command.run
  green "Removed mark from #{command.ssh_config_path}"
rescue MarkNotFound
  red "Marker not found in #{command.ssh_config_path}"
end