Sha256: 31781149ae17e07390dd63021d43987472e8ee257c358142dde48e5fd1e6cefd

Contents?: true

Size: 681 Bytes

Versions: 22

Compression:

Stored size: 681 Bytes

Contents

# frozen_string_literal: true

# Commands
require "mihari/commands/search"
require "mihari/commands/web"

# CLIs
require "mihari/cli/base"

require "mihari/cli/analyzer"
require "mihari/cli/init"
require "mihari/cli/validator"

module Mihari
  module CLI
    class Main < Base
      include Mihari::Commands::Search
      include Mihari::Commands::Web

      desc "analyze", "Sub commands to run an analyzer"
      subcommand "analyze", Analyzer

      desc "init", "Sub commands to initialize config & rule"
      subcommand "init", Initialization

      desc "validate", "Sub commands to validate format of config & rule"
      subcommand "validate", Validator
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
mihari-3.12.0 lib/mihari/cli/main.rb
mihari-3.11.0 lib/mihari/cli/main.rb
mihari-3.10.1 lib/mihari/cli/main.rb
mihari-3.10.0 lib/mihari/cli/main.rb
mihari-3.9.2 lib/mihari/cli/main.rb
mihari-3.9.1 lib/mihari/cli/main.rb
mihari-3.9.0 lib/mihari/cli/main.rb
mihari-3.8.1 lib/mihari/cli/main.rb
mihari-3.8.0 lib/mihari/cli/main.rb
mihari-3.7.2 lib/mihari/cli/main.rb
mihari-3.7.1 lib/mihari/cli/main.rb
mihari-3.7.0 lib/mihari/cli/main.rb
mihari-3.6.1 lib/mihari/cli/main.rb
mihari-3.6.0 lib/mihari/cli/main.rb
mihari-3.5.0 lib/mihari/cli/main.rb
mihari-3.4.1 lib/mihari/cli/main.rb
mihari-3.4.0 lib/mihari/cli/main.rb
mihari-3.3.0 lib/mihari/cli/main.rb
mihari-3.2.0 lib/mihari/cli/main.rb
mihari-3.1.0 lib/mihari/cli/main.rb