Sha256: 407393ac8cf4cfff4b47ca3b4132b6cd2225751defdf0cba1a3ee313034b15b0

Contents?: true

Size: 559 Bytes

Versions: 6

Compression:

Stored size: 559 Bytes

Contents

# frozen_string_literal: true

require "thor"

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

# CLIs
require "mihari/cli/base"

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

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

      desc "init", "Sub commands to initialize a rule"
      subcommand "init", Initialization

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mihari-4.3.0 lib/mihari/cli/main.rb
mihari-4.2.0 lib/mihari/cli/main.rb
mihari-4.1.2 lib/mihari/cli/main.rb
mihari-4.1.1 lib/mihari/cli/main.rb
mihari-4.1.0 lib/mihari/cli/main.rb
mihari-4.0.0 lib/mihari/cli/main.rb