Method: Ec2ssh::CLI#update
- Defined in:
- lib/ec2ssh/cli.rb
#update ⇒ Object
23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/ec2ssh/cli.rb', line 23 def update check_dotfile_existence check_dotfile_version set_aws_logging command = make_command :update command.run green "Updated #{command.ssh_config_path}" rescue AwsKeyNotFound red "Set aws keys at #{command.dotfile_path}" rescue MarkNotFound red "Marker not found in #{command.ssh_config_path}" red "Execute '#{$0} init' first!" end |