Please make maxChoices not a fixed number
Please provide details on the following items. Failure to do so may result in deletion of your feature request.
What's the user value of this feature request? Users can see more than 50 orgs after logging in.
Who is the functionality for? Everyone having more than 50 orgs.
How often will this functionality be used by the user? Every day.
Who else is affected by the change? should not affect the majority of users.
Is your feature request related to a problem? Please describe. Entering the exact org name is very tedious after having more than 50 entries, because you cant see them anymore.
Describe the solution you'd like It should be possible to set maxChoices as a variable to increase it to e.g. 100 as a user.
Describe alternatives you've considered Alternatively, if you want to hardcode it, just increase the maxChoices.
Additional context Its currently hardcoded to 50. See here: https://github.com/cloudfoundry/cli/blob/8ca11b656297aca2da6376da2345f0e190d27924/cf/commands/login.go#L24
Note: As of the GA of the v7 CLI, the v6 line is no longer under active development and will be updated only to patch CVEs or fix severe blocking defects with no workarounds.
Hey @kevinnoll can you provide the CF CLI verison you are using. That code linked is only used in CF CLI v6 which is not supported. Only V8 is supported.
Hello @Samze , thanks for reaching ot.
I am currently using cf version 8.7.3+efd1d03.2023-09-12, the issue is still present.
Is there a way to change the maximum of displayed items in v8?
I was not aware that this code is only used in CLI v6, it is not obvious.