Skip to content

Commit

Permalink
comments on runner type
Browse files Browse the repository at this point in the history
  • Loading branch information
TanklesXL committed Apr 22, 2024
1 parent a0ca243 commit b1f986d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/glint.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,7 @@ pub opaque type NamedArgs {
NamedArgs(internal: dict.Dict(String, String))
}

/// Functions that execute as part of glint commands.
///
/// Named Arguments that a command expects will be present in the first parameter and accessible by .
///
/// Flags passed to `glint` are provided as the `flags` field.
///
///
/// Function type to be run by `glint`.
/// Functions that execute when glint commands are run.
///
pub type Runner(a) =
fn(NamedArgs, List(String), Flags) -> a
Expand Down

0 comments on commit b1f986d

Please sign in to comment.