Sha256: af965c1e45f5f179a173aa22e95eaec0b4c93ca9960c806653f1f76e7fee96f4

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true

module GitContext
  module Commands
    class DeleteProfile < Base
      def call
        stored_profiles = @configuration.list_profile_names
        to_be_deleted = @interaction.prompt_delete_profile(stored_profiles)
        @configuration.delete_profile(to_be_deleted)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git_context-0.3.0 lib/git_context/commands/delete_profile.rb