axem-solutions / dem

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

Feature list host command #151

Closed Kabiirk closed 11 months ago

Kabiirk commented 11 months ago

Type Of Change

Checklist:

Related Issue

Closing: Issue #125 DEM-199

Description

Added the following CLI command : dem list-host Which lists the available hosts from the config file. If there is no host in the config file, inform the user that no remote host available.

How Has This Been Tested?

Wrote Test Cases for the following Situations :

  1. Hosts are available. (Expected Output : Table with hosts & addresses)
  2. Hosts are not available. (Expected Output : "No available remote hosts!" on the Terminal)

Details of your testing environment: image

Screenshots (if appropriate):

  1. Output with Hosts image

Additional info

Dear @janosmurai , As discussed, Creating the PR post code cleanup & testing.

Let me know if anything else is required to be done before merging this successfully with main.

Best Regards, Kabiir Krishna

janosmurai commented 11 months ago

Hey @Kabiirk Modifications are looking good! Please get the modifications from the main first and then I can approve the runner.

Kabiirk commented 11 months ago

Hi Janos, I have done the needful.