3 ms·
I don't think it is possible to usefully deliver what you want, but if you can do that I'm all for it. Just having the code in my documentation checked that it
by bluGill 2y ago
I don't think it is possible to usefully deliver what you want, but if you can do that I'm all for it. Just having the code in my documentation checked that it compiles (which often means assumptions because I shouldn't have to put in boilerplate)
- alganet 2y agoPython doctests[1] scratch that idea, but in another angle. They are useful and popular. clitest[2] is more closely related to what I'm aiming for, and it's very useful, but hard to translate to non-shell paradigms. I am sure it can be done. [1]: https://docs.python.org/3/library/doctest.html https://docs.python.org/3/library/doctest.html [2]: https://github.com/aureliojargas/clitest https://github.com/aureliojargas/clitest