Skip to content

fix(cli): resolve duplicate -f short option conflict in projects list#11

Merged
fhverga merged 2 commits intomainfrom
fix/projects-duplicate-f-short-flag
Feb 26, 2026
Merged

fix(cli): resolve duplicate -f short option conflict in projects list#11
fhverga merged 2 commits intomainfrom
fix/projects-duplicate-f-short-flag

Conversation

@fhverga
Copy link
Contributor

@fhverga fhverga commented Feb 26, 2026

Summary

This PR fixes a duplicate short option (-f) conflict in the projects list command.

Previously:

  • --filter used -f
  • --format also used -f

This caused Click/Typer to emit a warning:

UserWarning: The parameter -f is used more than once. Remove its duplicate as parameters should be unique.

Now:

  • --filter uses -F
    --format keeps -f (common CLI convention for format)
    No breaking changes for long options.

Testing

  • Tested conviso projects list --help
  • Tested with --filter
  • Tested with --format
  • Confirmed warning no longer appears

Before Fix (Warning Example)

duplicate -f warning

@fhverga fhverga merged commit f26409b into main Feb 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant