FPGAwars / apio

:seedling: Open source ecosystem for open FPGA boards
https://github.com/FPGAwars/apio/wiki
GNU General Public License v2.0
801 stars 137 forks source link

Now printing an info message when a deprecated flag is used. #418

Closed zapta closed 1 month ago

zapta commented 1 month ago

Deprecated click options are now handled programatically using the new ApioOption and ApioCommand handlers and an info message is printed when a deprecated flag is used. For example:

Info: ['-t', '--top-module'] is deprecated.

Also, the following note is added automatically to the help text of each command that has deprecated options.

[Note] Flags marked with [DEPRECATED] are not recomanded for use. For
project configuration, use an apio.ini project file and if neaded, project
specific 'boards.json' and 'fpga.json' definition files.