kvas-it / pytest-console-scripts

Pytest plugin for testing console scripts
MIT License
78 stars 14 forks source link

fix script name + more meaningful option example #5

Closed ederag closed 6 years ago

ederag commented 6 years ago

The script name is changed to foobar, in agreement with the declaration in console_scripts. And bar was used both for the function called in the script and the optional argument. To clarify, the optional argument is changed to --version, which might be more clearly identified.

Thanks a lot for this plugin, worked perfectly !

kvas-it commented 6 years ago

Thanks for this. The README is better this way indeed.