Sha256: 953020d194e9353abdc9e94f020471e163260423f5f9bcbab0a9cc02cca5125c

Contents?: true

Size: 633 Bytes

Versions: 18

Compression:

Stored size: 633 Bytes

Contents

# frozen_string_literal: true

require "thor"

# Commands
require "mihari/commands/search"
require "mihari/commands/version"
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::Version
      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

18 entries across 18 versions & 1 rubygems

Version Path
mihari-4.12.0 lib/mihari/cli/main.rb
mihari-4.11.0 lib/mihari/cli/main.rb
mihari-4.10.0 lib/mihari/cli/main.rb
mihari-4.9.0 lib/mihari/cli/main.rb
mihari-4.8.0 lib/mihari/cli/main.rb
mihari-4.7.4 lib/mihari/cli/main.rb
mihari-4.7.3 lib/mihari/cli/main.rb
mihari-4.7.2 lib/mihari/cli/main.rb
mihari-4.7.1 lib/mihari/cli/main.rb
mihari-4.7.0 lib/mihari/cli/main.rb
mihari-4.6.1 lib/mihari/cli/main.rb
mihari-4.6.0 lib/mihari/cli/main.rb
mihari-4.5.3 lib/mihari/cli/main.rb
mihari-4.5.2 lib/mihari/cli/main.rb
mihari-4.5.1 lib/mihari/cli/main.rb
mihari-4.5.0 lib/mihari/cli/main.rb
mihari-4.4.1 lib/mihari/cli/main.rb
mihari-4.4.0 lib/mihari/cli/main.rb