I do think this utility is starting to suffer from a bit of feature bloat. Here are a few areas I think we can simplify,
remove validation logic related to picking a profile, docker should return an error message that is sufficient to handle this case.
optionally add a command to list to the profiles, and you can do that on a failure for invalid profile name.
a command to list service names will make the tail command better. Tail command failure can call the function to list service names.
there were some debugging commands that can be deprecated, logs, current, setcurrent should be removed. You can also remove all of the pipe to logs, pipe to /dev/null (or just let them go to the terminal)
the reset clean and purge commands may just need better documentation but seem to be very similar.
I that might dry things a tiny bit, but it would help remove bloat.
I that might dry things a tiny bit, but it would help remove bloat.
Originally posted by @FlatBallFlyer in https://github.com/agile-learning-institute/mentorHub/pull/98#pullrequestreview-2058605391
To list services
For a command to list profiles, see also #51
Originally posted by @michquinn in https://github.com/agile-learning-institute/mentorHub/issues/98#issuecomment-2113931917