FableCli
type FableCli =
| FetchedFable of version: string
| NamedFable of tool: string * expected: string option| Assembly | Nacara.Plugin.LiveExample |
Which Fable precompiles a library, and how it is started.
A precompiled library is only readable by the Fable that wrote it, so the default fetches the one the browser's compiler was built from rather than trusting whatever is installed.
A site that names its own is then the one keeping the two in step, and is told when they have drifted.
Cases
FetchedFable of version: string
FetchedFable of version: stringFetched from NuGet by dnx, at the version the browser's compiler was built from.
NamedFable of tool: string * expected: string option
NamedFable of tool: string * expected: string optionA CLI the site named, and the version it ought to be.