Sha256: 719f61003cd52fa10415fc97405e1f0e6794b1266d1cd46e3073568565511049

Contents?: true

Size: 425 Bytes

Versions: 8

Compression:

Stored size: 425 Bytes

Contents

module Memo
  class Cli
    module Command
      class Fuzzy
        def initialize(
          options,
          os: Memo::OS.new
        )
          @options = options
          @os = os
          @config = Memo::Config.new
        end

        def call
          @os.exec "#{@config.editor} "\
            "$(find #{@config.root} -type f | "\
            "#{@config.fuzzy_finder})"
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ememo-0.2.1 lib/memo/cli/command/fuzzy.rb
ememo-0.1.8 lib/memo/cli/command/fuzzy.rb
ememo-0.1.7 lib/memo/cli/command/fuzzy.rb
ememo-0.1.6 lib/memo/cli/command/fuzzy.rb
ememo-0.1.5 lib/memo/cli/command/fuzzy.rb
ememo-0.1.4 lib/memo/cli/command/fuzzy.rb
ememo-0.1.3 lib/memo/cli/command/fuzzy.rb
ememo-0.1.2 lib/memo/cli/command/fuzzy.rb