Sha256: 1fe04776aea879662aaeaf3e0790459b1973a6279f02f363ac9d3b16b77455ac

Contents?: true

Size: 625 Bytes

Versions: 6

Compression:

Stored size: 625 Bytes

Contents

# frozen_string_literal: true

module Mihari
  module Commands
    module BinaryEdge
      def self.included(thor)
        thor.class_eval do
          desc "binaryedge [QUERY]", "BinaryEdge host search by a query"
          method_option :title, type: :string, desc: "title"
          method_option :description, type: :string, desc: "description"
          method_option :tags, type: :array, desc: "tags"
          def binaryedge(query)
            with_error_handling do
              run_analyzer Analyzers::BinaryEdge, query: query, options: options
            end
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mihari-2.4.0 lib/mihari/commands/binaryedge.rb
mihari-2.3.1 lib/mihari/commands/binaryedge.rb
mihari-2.3.0 lib/mihari/commands/binaryedge.rb
mihari-2.2.1 lib/mihari/commands/binaryedge.rb
mihari-2.2.0 lib/mihari/commands/binaryedge.rb
mihari-2.1.0 lib/mihari/commands/binaryedge.rb