class GitContext::Commands::DeleteProfile

Public Instance Methods

call() click to toggle source
# File lib/git_context/commands/delete_profile.rb, line 6
def call
  stored_profiles = @configuration.list_profile_names
  to_be_deleted = @interaction.prompt_delete_profile(stored_profiles)
  @configuration.delete_profile(to_be_deleted)
end