mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
9 lines
300 B
Text
9 lines
300 B
Text
platform "cli"
|
|
requires {} { main : List Str -> Task {} [] * }
|
|
exposes []
|
|
packages {}
|
|
imports [Task.{ Task }, InternalTask, Effect.{ Effect }]
|
|
provides [mainForHost]
|
|
|
|
mainForHost : List Str -> (Effect (Result {} []) as Fx)
|
|
mainForHost = \args -> InternalTask.toEffect (main args)
|