aroberge / ideas

Easy creation of custom import hooks to experiment on alternatives to Python's syntax; see https://aroberge.github.io/ideas/docs/html/
Other
79 stars 4 forks source link

Add entry point #37

Closed aroberge closed 2 years ago

aroberge commented 2 years ago

Instead of writing

python -m ideas ...

make it possible to write

ideas ...

Note that instead of python, in some systems the user might have to write python3 or py; this requires additional information in the documentation which might be confusing. By having an entry point, we do not have to deal with this issue.

To support the equivalent of

python -im ideas ...

a new -i option will have to be added.