robotpy / robotpy-cli

Provides the `robotpy` and `python -m robotpy` commands for launching RobotPy projects
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

robotpy-cli

New for 2024, this package is used to execute subcommands on a RobotPy project. This does not actually implement any subcommands itself, but provides a mechanism to execute those subcommands.

Usage

On Windows:

py -m robotpy

On Linux/macOS:

python -m robotpy

See the RobotPy documentation for more information.

How RobotPy subcommands are implemented

When a user runs robotpy or python -m robotpy, they are presented with several subcommands. Each of these subcommands is implemented as a class that is registered using python's entry point mechanism in the "robotpy" group. The registered class must meet the following requirements:

If the subcommand is a group of commands:

If it is a subcommand that is executed: