licence_audit

Types

pub type Clients {
  Clients(
    fetcher: fn(String) -> Result(hex.PackageMetadata, hex.Error),
    osv_batch_fetcher: fn(List(String)) -> Result(
      List(osv.BatchEntry),
      osv.Error,
    ),
    osv_detail_fetcher: fn(String) -> Result(
      osv.Vulnerability,
      osv.Error,
    ),
    notice_clients: notice.Clients,
  )
}

Constructors

pub type RunResult {
  RunResult(exit_code: Int, output: String)
}

Constructors

  • RunResult(exit_code: Int, output: String)

Values

pub fn default_clients() -> Clients
pub fn main() -> Nil
pub fn run(args: List(String)) -> RunResult
pub fn run_configured(
  args: List(String),
  clients: Clients,
  reporter: progress.Reporter,
) -> #(RunResult, List(progress.Event))
✨ Search Document