ThePrez / ServiceCommander-IBMi

Service Commander for IBM i
Apache License 2.0
40 stars 12 forks source link

Show short name of service even if not running #190

Closed m1h43l closed 1 year ago

m1h43l commented 1 year ago

Currently (in 1.4.3 at least) the short name of the service is displayed in colors if service is running in the output of sc check. But if the service is not running the short name is not displayed. Thus I have to lookup the short name either by querying the config files or using sc list. It would be easier if the short name would also be displayed in the output of sc check no matter if the service is running or not.

ThePrez commented 1 year ago

@m1h43l , can you provide a screen shot of the behavior you are seeing? In my test environment, I see the short names of both running and non-running services and don't see anything obvious in the code that would cause this behavior

Example output on my test system image

m1h43l commented 1 year ago

grafik

The screenshot is taken in from a powershell. I have now tested it with a normal DOS Shell window (black background) ... and tada ... now I can see labels of the not running services. You have take a really inconvenient color for my eyes for these labels ;-) .

chrjorgensen commented 1 year ago

@ThePrez Maybe the color codes could be put in a config file for ServiceCommander? Colors are very subjective and every user has their own preferences - and maybe configured the terminal to reflect this. A config file would allow the user to pick the favorite colors.

ThePrez commented 1 year ago

I agree. See #194 as we already have support for rudimentary configuration files. A --color-scheme=-type argument would be a great feature