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).
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 theiamb.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).