codecov / feedback

A place to discuss feedback about the pull request and web product experience.
37 stars 7 forks source link

Inconsitent naming of upload options for the codecov cli #380

Closed vlad-codecov closed 4 months ago

vlad-codecov commented 6 months ago

What product do you want to improve? Codecov cli

Is your feature request related to a problem? Please describe.

In the do-upload command the param is called --report-code, while in all other commands it's called --code. Please make it consistent. 
pip install codecov-cli
codecovcli create-commit
codecovcli create-report --code <CODE>
codecovcli do-upload --report-code <CODE>
codecovcli create-report-results --code <CODE>
codecovcli get-report-results --code <CODE>

https://github.com/codecov/codecov-cli?tab=readme-ov-file#how-to-use-local-upload

Describe the solution you'd like please make sure that all params are named consistently

eliatcodecov commented 4 months ago

Issue is just interface inconsistency with how --code is called:

codecovcli create-report --code <CODE>
codecovcli do-upload --report-code <CODE> #this should be --code to be consistent?
codecovcli create-report-results --code <CODE>