erlang-katana
erlang-katana copied to clipboard
Erlang grab bag of useful functions. it should have been called swiss army knife but katanas are deadlier
It's currently using the same one as `os:cmd/1` (i.e. `/bin/sh -s unix:cmd`), but it would be good to make it configurable so that our users can use `/bin/bash`, for instance.
... in ktn_json to reflect the format the date/datetime is being converted to.
Add a `ktn_web_utils` module like the one we have everywhere, with functions like: ``` erlang -spec announce_req(cowboy_req:req(), iodata()) -> cowboy_req:req(). -spec handle_exception(atom(), cowboy_req:req(), term()) -> {halt, cowboy_req:req(), term()}. ```
See #46 and #48.