Re: [CLI] Handling sub commands?

2024-07-22 Thread Claude Warren
As I understand the question: If I have a project that has input options of "file" and "type" and output options with the same names I could currently write the options as: --input-file, --input-type, --output-file, --output-type (This is the current approach in the unreleased Rat 0.17). However,

[CLI] [Discuss[ "Since" attribute

2024-07-22 Thread Claude Warren
Greetings, We recently introduced the "deprecation" processing where in we track the version when the option was deprecated in the DeprecationAttribute property "since". I think it makes sense to add a since property to the Option class as well. This would list the version at which the option be

Re: [CLI] Handling sub commands?

2024-07-22 Thread Eric Pugh
Yes, I think you are getting to the what I am looking for. We are trying to move more logic from shell scripts to Java code. Right now the help command for ZK Bin/solr zk -h command is all done in shell scripts because we don’t have a single Java class that represents the “zk” command. Inste

Re: [CLI] [Discuss[ "Since" attribute

2024-07-22 Thread Gary Gregory
That sounds reasonable. Are you planning to create PR? Gary On Mon, Jul 22, 2024 at 3:12 AM Claude Warren wrote: > > Greetings, > > We recently introduced the "deprecation" processing where in we track the > version when the option was deprecated in the DeprecationAttribute property > "since". >