swagger-api / swagger-api/swagger-codegen
swagger-codegen-cli should accept a standard way of invoking usage starting with "-" and "--" like "-h", "--help"
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
- swagger-codegen version 2.2.3
It is not possible to use in Swagger Codegen a standard way of invoking usage starting with "-" and "--".
For instance it is a good way to see help:
java -jar swagger-codegen-cli.jar help
and it is not possible to use:
java -jar swagger-codegen-cli.jar --help or java -jar swagger-codegen-cli.jar -h
It could be developed or changed to works in a standard way.
Regards,
Julita Rozborska
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use swagger-codegen-cli.jar as the entry point and compare the existing help invocation with the requested -h and --help forms. Verify that both options display the same usage information as the help command, then check the relevant CLI tests or add coverage if the repository identifies them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100