axem-solutions / dem

Containerized Development Environment Manager for embedded development
Other
94 stars 15 forks source link

[FeatureRequest] Improve the output of the `list-tools` command #205

Open janosmurai opened 3 months ago

janosmurai commented 3 months ago

Highlighting

In the output of the dem list-tools command using the color #8f64eb highlight the following text:

Local Tool Images

In the output of the dem list-tools --reg command using the color #8f64eb highlight the following text:

Available Tool Images from all registries

Add pager option to the output

The user should be able to enable the pager mechanism for the dem list-tools and dem list-tools --reg commands.

This should be an entry in the config file.


For axem internal use only: Jira: https://axem.atlassian.net/browse/DEM-286

meet0806 commented 2 months ago

@janosmurai How can I add tools ?? image

janosmurai commented 2 months ago

Unfortunately, I've introduced a new bug in the latest release... For new DEM users, the default config file gets created with an invalid config. Please locate the .config file and manually change the "registries" with this registry config:

{
            "name": "axem",
            "namespace": "axemsolutions",
            "url": "https://registry.hub.docker.com"
}

On Linux, the config file is under /home/{user}/.config/axem/dem/config.json. On Windows, which is not yet supported by the way, is I guess somewhere in the C:\Users\zalav.config\axem\dem.

meet0806 commented 2 months ago

it's working now thank you for your help image

Unfortunately, I've introduced a new bug in the latest release... For new DEM users, the default config file gets created with an invalid config. Please locate the .config file and manually change the "registries" with this registry config:

{
            "name": "axem",
            "namespace": "axemsolutions",
            "url": "https://registry.hub.docker.com"
}

On Linux, the config file is under /home/{user}/.config/axem/dem/config.json. On Windows, which is not yet supported by the way, is I guess somewhere in the C:\Users\zalav.config\axem\dem.