pub fn do_main(
  workbook: Dict(List(String), Task(Result(String, Snag))),
) -> Nil

Applies arguments from the command line to the given Workbook, then processes the output and exits.

You can merge rad’s standard.workbook with your own, or replace it entirely.

See main for more info.

pub fn main() -> Nil

Runs rad, a flexible task runner companion for the gleam build manager.

Specify a different workbook module in the [rad] table of your project’s gleam.toml configuration file to have rad run your workbook’s main function, in which you can call do_main to extend rad with your own Workbook.

Search Document