Skip to content

Commit

Permalink
* Add cli script
Browse files Browse the repository at this point in the history
* Add bin field into npm package
* Update package.json with the repository information and the cli main module
  • Loading branch information
groteck committed May 15, 2018
1 parent c3c4b9a commit 179619c
Show file tree
Hide file tree
Showing 7 changed files with 19,366 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ elm-stuff
.idea
node_modules
elmclient.log
yarn.lock
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# html-to-elm
An online tool for converting HTML to [elm-html](https://github.com/evancz/elm-html) code.
An online and cli tool for converting HTML to [elm-html](https://github.com/evancz/elm-html) code.

*Go to http://mbylstra.github.io/html-to-elm/*
*Go to http://mbylstra.github.io/html-to-elm/* or clone this repository and run on the rootpath `./main.js "<h1>This is a test</h1>"`
2 changes: 2 additions & 0 deletions build-cli.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env sh
elm-make elm-src/HtmlToElmCli/Main.elm --output=./cli/Main.js
Loading

0 comments on commit 179619c

Please sign in to comment.