rvesse / airline

Java annotation-based framework for parsing Git like command line structures with deep extensibility
https://rvesse.github.io/airline/
Apache License 2.0
128 stars 20 forks source link

Only display the help footer if there is a help command #116

Closed gsmet closed 2 years ago

gsmet commented 2 years ago

Hey @rvesse,

In my usage of Airline, I display the help when there is a parse error and users of my library might not have always defined a help command so always having the footer present is misleading.

I adjusted the tests that needed a Help command to be OK but other than that, it didn't trigger any weird behavior AFAICS.

gsmet commented 2 years ago

BTW, I see you don't have any CI triggered here, would you be interested in me setting up a GH Action workflow?

rvesse commented 2 years ago

LGTM

I have/had Travis CI setup but not sure that ties in with the newer GitHub Checks mechanics and GitHub Actions. I'm using GitHub Actions for CI/CD heavily in $dayjob nowadays so would be happy for a suitable workflow to be added to this repository

gsmet commented 2 years ago

@rvesse OK, I'll set up something then. Thanks for merging!