Allow picking profile at startup when one isn't specified #275

Closed
opened 2025-10-14 15:44:16 -06:00 by navan · 0 comments
Owner

Originally created by @ulyssa on 4/14/2024

When there are multiple profiles, and a default_profile isn't in the config, and -P isn't given on the command-line, then iamb will exit with an error asking one for one. An alternative would be to list the available profiles and ask the user to pick one. This would allow the iamb.desktop file to be more useful for folks with multiple profiles since they can then launch a terminal window running iamb through it and then pick a profile, instead of having it immediately print an error and exit (which currently happens so quickly one can't read it).

*Originally created by @ulyssa on 4/14/2024* When there are multiple profiles, and a `default_profile` isn't in the config, and `-P` isn't given on the command-line, then iamb will exit with an error asking one for one. An alternative would be to list the available profiles and ask the user to pick one. This would allow the `iamb.desktop` file to be more useful for folks with multiple profiles since they can then launch a terminal window running iamb through it and then pick a profile, instead of having it immediately print an error and exit (which currently happens so quickly one can't read it).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/iamb#275
No description provided.