axem-solutions / dem

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

[FeatureRequest] Modify the existing delete command - delete the Dev Env descriptor from the dev_env.json file #122

Closed vezdeneszter closed 11 months ago

vezdeneszter commented 1 year ago

dem delete DEV_ENV_NAME

Deletes the Dev Env descriptor from the dev_env.json and removes all required unused tools images.

  1. The DEM looks for the DEV_ENV_NAME.
    • If it can’t find the Dev Env, an error should be raised and the execution should be aborted.
  2. The DEM runs the uninstall for the Dev Env. It removes all the tool images, which are not required anymore by any other Dev Env.
  3. The DEM finally removes the Dev Env descriptor from the dev_env.json file.
  4. If the DEV_ENV_NAME is an empty parameter, the DEM should raise an error. (Handled by type)
  5. The DEM should autocomplete the DEV_ENV_NAME parameter with the locally available Dev Envs.

image-20231003-101549

VibhorGits commented 1 year ago

Hey @vezdeneszter Can I work on this issue? If yes may I ask you to elaborate a little on the problem.

janosmurai commented 1 year ago

Hey @VibhorGits Sure you can. Please join our discord and I happily elaborate on this issue.