easyoptions
easyoptions copied to clipboard
Ignore double-hash comments after help text
From what I understand, easyoptions follows the same principle as docopt: describe your scripts options in the help text and let easyoptions create the parser for the script.
Unfortunately easyoptions searches the complete script code for ##
comments, not just the first contiguous block ("Docstring" in Python terminology). This creates problems because I use ## BLOCK ##
markers in my script to visually mark blocks in my scripts. Easyoptions considers these part of the help text.