module InspecPlugins
  module Compliance
    class Plugin < Inspec.plugin(2)
      plugin_name :'inspec-compliance'

      cli_command :compliance do
        require_relative "inspec-compliance/cli"
        InspecPlugins::Compliance::CLI
      end

      cli_command :automate do
        require_relative "inspec-compliance/cli"
        InspecPlugins::Compliance::CLI
      end
    end

    autoload :Configuration, "plugins/inspec-compliance/lib/inspec-compliance/configuration"
    autoload :API, "plugins/inspec-compliance/lib/inspec-compliance/api"
  end
end
