Added ability for load-opts to read the -c flag as EDN to support common use-case of just needing to add {:optimizations :advanced} without needing to have an EDN file. Tested via following command.
The existing behavior of passing a file also works. The -c option looks to see if it the first non-whitespace character is \{ and treats as EDN, otherwise falls back to file.
Added ability for
load-opts
to read the-c
flag as EDN to support common use-case of just needing to add{:optimizations :advanced}
without needing to have an EDN file. Tested via following command.The existing behavior of passing a file also works. The
-c
option looks to see if it the first non-whitespace character is\{
and treats as EDN, otherwise falls back to file.