Elm 埃尔姆:如何只获得一行与埃尔姆版本?
如何只获得一行与榆树版本 现在我明白了:Elm 埃尔姆:如何只获得一行与埃尔姆版本?,elm,Elm,如何只获得一行与榆树版本 现在我明白了: $ elm-make --version elm-make 0.17 (Elm Platform 0.17.0) Usage: elm-make [FILES...] [--output FILE] [--yes] [--report FORMAT] [--warn] [--docs FILE] [--prepublish] [--prepublish-core] build Elm projects Availa
$ elm-make --version
elm-make 0.17 (Elm Platform 0.17.0)
Usage: elm-make [FILES...] [--output FILE] [--yes] [--report FORMAT] [--warn]
[--docs FILE] [--prepublish] [--prepublish-core]
build Elm projects
Available options:
-h,--help Show this help text
--output FILE Write result to the given .html or .js FILE.
--yes Reply 'yes' to all automated prompts.
--report FORMAT Format of error and warning reports (e.g.
--report=json)
--warn Report warnings to improve code quality.
--docs FILE Write documentation to FILE as JSON.
Examples:
elm-make Main.elm # compile to HTML in index.html
elm-make Main.elm --output main.html # compile to HTML in main.html
elm-make Main.elm --output elm.js # compile to JS in elm.js
elm-make Main.elm --warn # compile and report warnings
Full guide to using elm-make at <https://github.com/elm-lang/elm-make>
$
不确定重定向是否严格必要;在这种情况下,有些工具只是打印到标准输出
不确定重定向是否严格必要;在这种情况下,有些工具只是打印到标准输出。Elm平台中的另外两个工具只打印OSX Elm 0.17.0上的版本,至少对我来说是这样的:
% elm reactor --version
0.17.0
% elm repl --version
0.17.0
Elm平台中的另外两个工具在OSX Elm 0.17.0上至少为我打印了以下版本:
% elm reactor --version
0.17.0
% elm repl --version
0.17.0
从版本0.18.0开始,普通elm工具可以工作:
$ elm --version
0.18.0
从版本0.18.0开始,普通elm工具可以工作:
$ elm --version
0.18.0