You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modern Python build systems support at least some sort of script variable to define the method to be called when the package is supposed to be a CLI script, e.g. for setup.py this seems to be either scripts or console_scripts (see here for an example).
Would it be possible to add something like that to ImageGoNord? I'm asking because I use pipx to install and maintain my Python CLI tools, and it refused to install ImageGoNord due to lack of such CLI entry point. This improvement would increase the package's reach and make it a bit more convention-conformant.
The text was updated successfully, but these errors were encountered:
It require to migrate to project.toml and use setup as backend.
With it method a CLI entry-point can be generate during the pip install.
The entry point should use argparse, on rule of art for keep the control code near that lib (argparse)
Look like the exemple can be a good entry point starter.
The entry point should ne complet, well documented , for permit future TUI/GUI implementations.
The entry point is style empty but ready to implement the exemple docs/exemples/index.py
I 'll start by implementing the exemple and certainly STDIN / STDOUT as file
Have you a idea about how the entry point CLI should implement ?
Modern Python build systems support at least some sort of
script
variable to define the method to be called when the package is supposed to be a CLI script, e.g. forsetup.py
this seems to be eitherscripts
orconsole_scripts
(see here for an example).Would it be possible to add something like that to ImageGoNord? I'm asking because I use
pipx
to install and maintain my Python CLI tools, and it refused to install ImageGoNord due to lack of such CLI entry point. This improvement would increase the package's reach and make it a bit more convention-conformant.The text was updated successfully, but these errors were encountered: