Sha256: d5bf93e0f89c7e42011047736fe274bb01d968157e83e17d33a4e76d864ef9ae

Contents?: true

Size: 747 Bytes

Versions: 9

Compression:

Stored size: 747 Bytes

Contents

# frozen_string_literal: true

require "thor"

# Commands
require "mihari/commands/alert"
require "mihari/commands/database"
require "mihari/commands/search"
require "mihari/commands/version"
require "mihari/commands/web"

# CLIs
require "mihari/cli/base"

require "mihari/cli/alert"
require "mihari/cli/database"
require "mihari/cli/rule"

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

      desc "db", "Sub commands for DB"
      subcommand "db", Database

      desc "rule", "Sub commands for rule"
      subcommand "rule", Rule

      desc "alert", "Sub commands for alert"
      subcommand "alert", Alert
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mihari-5.5.0 lib/mihari/cli/main.rb
mihari-5.4.9 lib/mihari/cli/main.rb
mihari-5.4.8 lib/mihari/cli/main.rb
mihari-5.4.7 lib/mihari/cli/main.rb
mihari-5.4.6 lib/mihari/cli/main.rb
mihari-5.4.5 lib/mihari/cli/main.rb
mihari-5.4.4 lib/mihari/cli/main.rb
mihari-5.4.3 lib/mihari/cli/main.rb
mihari-5.4.2 lib/mihari/cli/main.rb