0.2.0 • Published 7 years ago

elm-reflection v0.2.0

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
7 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

7 years ago

0.1.7

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago