Runtime path
Perlence opened this issue · 5 comments
@Perlence Hi and thanks for the idea.
Actually, I have been wanting to add this for a while but did not have the time to implement it yet.
I will try to implement this when I have a moment, but any help is welcome!
I'm working on it master...Perlence:repo-subfolder.
@Perlence Great job, thank you very much!
This will also help a lot implementing the last feature I want before releasing 1.0.
Just one point, I think we can avoid having a whole state machine here,
as the only thing we need to check is the next argument.
We could simply iterate on the index, and when an argument is needed, check the next element in the list.
It is less flexible but more concise, and it should be sufficient for this use case.
@Perlence Also, we cannot use -a
in fishtape tests, see fisherman/fishtape#5 for an alternative.
I see. I'll simplify argument parser and fix existing tests.