make docopt as function instead of macros#5
make docopt as function instead of macros#5signalpillar wants to merge 1 commit intodocopt:masterfrom
docopt as function instead of macros#5Conversation
Fix issue > Caused by: java.lang.Exception: Docopt with one argument requires that #'-main have a doc string. It happens due to the fact that passed `doc` variable at compile time will point to symbol not an actual value
|
@postamar is this project still being maintained? |
|
They need to add another clojure collaborator for this, I think the maintainer of this got busy. |
|
Anyone volunteers to be a new maintainer? |
|
@postamar please let us know if you are still interested in this project. |
|
Sure! Sorry for not responding sooner. Please give me a few days to get up to date, I'll be more active henceforth, and if I can't, I'll let you know. |
|
Hey @keleshev, @mgrubb, @signalpillar and @benzap Loooking forward to your feedback |
|
@postamar Currently the example in the readme doesn’t work with the version on Clojars! Please can you at least fix the issue with the -main docstring being parsed, bump the version number and upload to Clojars? Perhaps you can also add @carocad as a maintainer since he has taken the time to do a simpler re-write that may be the future of the project. Thanks |
Fix issue when docstring passed as first argument explicitly - parse function fails on (string? doc) assert
It happens due to the fact that passed
docvariable at compile time will point to symbol not an actual value.I have got rid of macros at all as it is recommended to use functions when it is possible