-module(clip@help). -compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]). -export([run/2, custom/1, simple/2]). -export_type([help/0]). -opaque help() :: {help, fun((clip@arg_info:arg_info()) -> binary())}. -file("/Users/drew/code/clip/src/clip/help.gleam", 11). -spec run(help(), clip@arg_info:arg_info()) -> binary(). run(Help, Arg_info) -> (erlang:element(2, Help))(Arg_info). -file("/Users/drew/code/clip/src/clip/help.gleam", 17). -spec custom(fun((clip@arg_info:arg_info()) -> binary())) -> help(). custom(F) -> {help, F}. -file("/Users/drew/code/clip/src/clip/help.gleam", 22). -spec simple(binary(), binary()) -> help(). simple(Name, Description) -> {help, fun(_capture) -> clip@arg_info:help_text(_capture, Name, Description) end}.