Sha256: dcabbfd0a137742822df29cfe6b573e988f391fa10e6aeebf86fc3efe73c9d29

Contents?: true

Size: 528 Bytes

Versions: 2

Compression:

Stored size: 528 Bytes

Contents

# frozen_string_literal: true
class Shoes
  module UI
    class CLI
      class SelectBackendCommand < BaseCommand
        def run
          require 'shoes/ui/picker'
          backend = args[1]
          Shoes::UI::Picker.new.run(ENV["SHOES_BIN_DIR"], backend)
        end

        def self.help
          <<-EOS
shoes select_backend [backend]
    Select a Shoes backend to use. A backend can be specified, or Shoes will
    attempt to auto-detect available backends to select from.
EOS
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shoes-core-4.0.0.pre11 lib/shoes/ui/cli/select_backend_command.rb
shoes-core-4.0.0.pre10 lib/shoes/ui/cli/select_backend_command.rb