console-scripts
Domain: Python Packaging
π― Motivation
A type of entry point that creates command-line commands. When installed, they generate executable scripts that call your Python functions.
π Concrete Example
Adding mycli = "mypkg.main:run" under [project.scripts] makes mycli available in the terminal.
π Analogy
Console scripts are vending machine buttons β press the command name and out pops your functionβs output.