question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SubCommand seems not required to be declared again as a parameter type.

See original GitHub issue

maybe new ArrayList<>(); is OK.

protected static final List<SubCommand> SUB_COMMANDS = new ArrayList<SubCommand>();

https://github.com/apache/rocketmq/blob/develop/tools/src/main/java/org/apache/rocketmq/tools/command/MQAdminStartup.java

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
alexcao2018commented, Sep 20, 2022

Please assigned it to me, i want to try it.

1reaction
RapperCLcommented, Sep 20, 2022

please assigned it to me, i want to try it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SubCommand seems not required to be declared again as a ...
SubCommand seems not required to be declared again as a parameter type.
Read more >
Options disallow values that match subcommand name #1125
Some apps may want to allow such values only if it was "attached" to the option with a = or : separator. (E.g.,...
Read more >
Invoking another subcommand with Python click doesn't seem ...
This checking is done when parsing the parameters. If you are calling ctx.invoke() directly it is expected you understand what your command ...
Read more >
SIte subcommand—Send site-specific information to a host - IBM
Specifying DATAClass with no parameter value cancels the data class specification. The equal sign (=) is optional in this case.
Read more >
Commands and Groups — Click Documentation (8.1.x)
Click strictly separates parameters between commands and subcommands. What this means is that options and arguments for a specific command have to be ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found