Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

CLI and Module Names are different and leading to Confusion #2

Closed
mthipparthi opened this issue Feb 14, 2020 · 2 comments
Closed

CLI and Module Names are different and leading to Confusion #2

mthipparthi opened this issue Feb 14, 2020 · 2 comments

Comments

@mthipparthi
Copy link

Description. Thanks for the package. It was really helpful. When this package is independently run as cli we use in tox **pytest-gevent** {posargs:./test} . However if this has to be as module . for eg : coverage run --concurrency=gevent --source '{toxinidir}' --omit='{envdir}*' -m **pytest_gevent** . This leads to confusion.

@asottile
Copy link
Member

  • module names can't have dashes
  • the de facto standard for command line tools is to use dashes

I'm sorry you're confused but this is fairly standard practice

@mthipparthi
Copy link
Author

Thanks for that. Glad to know that is practise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants