samuelpilz / core-catcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command Line Option Parsing

fendor opened this issue · comments

It would be nice to define certain properties via command line options. Such as ports to use, if a new version of the Protocol.elm should be generated, or if certain debugger options should be enabled.

As command line parser i suggest optparse-applicative. It is a wonderful library using mainly monoids and applicative. Also supports long options.

Would you do that? @fendor

plan for supported commands:

  • port of the server
  • elm-build & protocol-export
  • maybe elm-live integration for hot-reload

I will take care of this