A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/2234 below:

[core] Consolidate PMD CLI into a single command · Issue #2234 · pmd/pmd · GitHub

I think it would be nicer to have a single command pmd with various subcommands, instead of shipping a run.sh + 5 batch scripts. Eg pmd designer, pmd ast-dump, pmd run (or just pmd as the default command?). We would then only need a pmd script for bash and pmd.bat for windows. This is probably would make it easier to setup (no need to define an alias, less risk for conflicts with other programs). Having one JCommander that knows about all subcommands would also probably improve the documentation/ usage text. Useful to know that PicoCLI can also generate bash completion scripts, and this would be made simpler with a single entry point.

Wdyt? How are you setting up PMD locally, with an alias for run.sh, different aliases for interesting subcommands, both? I do both, but my aliases are ugly, which is why I'd appreciate the added consistency


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4