Raidiness.psm1

<#
    Raidiness — local, open-source Microsoft 365 Copilot readiness assessment.

    The module is a thin, strictly read-only collection and rendering layer:

      Connect-Raidiness sign in to Microsoft Graph with read-only scopes
      Invoke-Raidiness collect evidence into ./raidiness-data (JSON)
      Invoke-RaidinessModule run an optional module script (Exchange/Purview, Teams, ...)
      Export-RaidinessReport fill the bundled HTML report with the collected data
      Get-RaidinessCheck list the checks from the bundled catalog
      Test-RaidinessPrerequisite what a run with -Modules needs installed

    The assessment itself (80 checks, scorecard, roadmap) runs inside the
    report page, in your browser. No database, no telemetry, no writes to the
    tenant — the cmdlet lint in this repository enforces read-only calls.
#>


Set-StrictMode -Version 3.0

foreach ($folder in 'Private', 'Public') {
    foreach ($function in Get-ChildItem -Path (Join-Path $PSScriptRoot $folder) -Filter '*.ps1') {
        . $function.FullName
    }
}

Export-ModuleMember -Function @(
    'Connect-Raidiness',
    'Invoke-Raidiness',
    'Invoke-RaidinessCheckup',
    'Invoke-RaidinessModule',
    'Export-RaidinessReport',
    'Get-RaidinessCheck',
    'Get-RaidinessIntake',
    'Set-RaidinessIntake',
    'Test-RaidinessPrerequisite'
)