caprover / caprover-cli

Command Line Interface for https://github.com/caprover/caprover
72 stars 41 forks source link

Improvement: sort app names in cli #37

Open tschut opened 5 years ago

tschut commented 5 years ago

Is your feature request related to a problem? Please describe. When deploying with caprover deploy, in the step where you select the app name to deploy to, the apps are sorted in the order the were added to the caprover instance (at least, that's what it looks like). Once you have more than a few apps this becomes annoying, as it's illogical where to find your app. Especially once you get to more than 6 apps, as the cli only displays 6 at a time (why?) Also, the web interface sorts alphabetically by default I think, so it would make sense if the cli showed apps in the same order.

Describe the solution you'd like I'd like the cli to:

tschut commented 5 years ago

Sorry, should've logged this in caprover/caprover-cli.