0.2.0 • Published 8 years ago

elm-reflection v0.2.0

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
8 years ago

elm-reflection

find all elm files in a directory (recursively) and get infos about them. It will tell you the module name and if it contains elm-css or elm-tests/doc-tests.

installation

$ npm i elm-reflection -g

Usage

Usage: elm-reflection [--path ARG] [--filter ARG]

Available options:
  -h,--help                Show this help text
  --path ARG               Default is whatever is in your "source-directories"
  --filter ARG             Possible values: [Test,ExposesTests,DocTest,Css]
$ elm-reflection > files.json
$ elm-reflection -- filter Css > css-files.json
$ elm-reflection --filter DocTest,ExposesTests > tests.json

The Json

[
    {
        "path": "/Users/stoeffel/src/Foo/Bar.elm",
        "types": [],
        "name": "Foo.Bar"
    },
    {
        "path": "/Users/stoeffel/src/tests/FooSpec.elm",
        "types": ["Test", "ExposesTests"],
        "name": "FooSpec"
    }
]
0.2.0

8 years ago

0.1.7

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago