libero/cli/gen

libero gen: TOML-driven codegen command.

Reads gleam.toml from the project path, scans the server source tree for handler endpoint functions, and runs the full codegen pipeline for each declared client.

Values

pub fn run(
  project_path project_path: String,
) -> Result(Nil, String)

Run the gen command from the given project path (usually ".").

Reads gleam.toml, discovers handler endpoints in the server src dir, and runs codegen for each declared client. nolint: stringly_typed_error – CLI module, String errors are user-facing messages

Search Document