taskbook
taskbook copied to clipboard
-- in a task description gets excluded
Describe the bug A clear and concise description of what the bug is.
Two -
s in a row get filtered out of the final output.
To Reproduce Steps to reproduce the behavior.


Expected behavior A clear and concise description of what you expected to happen.
Two dashes should have been present between "Any" and "Thing"
Screenshots If applicable, add screenshots to help explain your problem.
Technical Info (please complete the following information)
- OS: MacOS
- Node.js Version: v10.6.0
- Taskbook Version: 0.1.1
It's not a great workaround, but if you enclose your task text in quotes, like:
tb -t "Do these dashes -- work?"
This should save properly.
I ended up trying out commander as a command line parsing library, and even with its level of support, it still chokes on the double dashes here.
I wonder if there's a way to specify that no more arguments/options will be used.
For example, tagging -t
as a "solo option" or something, guaranteeing that any --
or -
that follows it is not meant for the shell to interpret.
Potentially worth opening an issue on the Commander library?