Re: [CLI] [DISCUSS] Help formatter extension proposal

2024-09-19 Thread Eric Pugh
I would love to see the ability to output the help docs in a format that could be dropped into documentation. In Solr we basically cut and paste the -h output into the Reference Guide, it works but it’s ugly and manual. I’ve been experimenting with some tools that let you run a tool, capture

Re: [CLI] [DISCUSS] Help formatter extension proposal

2024-09-19 Thread Claude Warren
This could get complex fairly quickly. So a couple of questions: Q: Do we want to create a new commons project or perhaps expand commons-text to contain a simple library for formatting output. If we do that we would have to include it in commons-cli which I know is undesirable, but if text is sm

Re: [CLI] [DISCUSS] Help formatter extension proposal

2024-09-19 Thread Gary Gregory
Hi Claude, I think it needs to be flexible/complex just enough to support doing what I mentioned. I like XML because once you have that, you can get anywhere else with XSL. How do you do transformations in JSON anyway? Has that wheel been reinvented? JOLT seems not to have gone anywhere. Maybe we