arras-energy / gridlabd

Arras Energy simulator
https://www.arras.energy/
BSD 3-Clause "New" or "Revised" License
6 stars 5 forks source link

Template subcommand clean and/or delete do not work properly #39

Open aivanova5 opened 1 year ago

aivanova5 commented 1 year ago

Problem description

Using the clean or del options of gridlabd template does not appear to remove files as expected. In fact, it's not very clear what is expected.

Steps to reproduce

  1. Run gridlabd template get tariff_design
  2. Inspect the $GLD_ETC/module.d and $GLD_ETC/template folders.
  3. Run gridlabd template del tariff_design.
  4. Inspect the $GLD_ETC/module.d and $GLD_ETC/template folders.
  5. Run gridlabd template clean.
  6. Inspect the $GLD_ETC/module.d and $GLD_ETC/template folders.

Expected behavior

After the del command, no files related tariff_design should be found.

After the clean command, no files related to templates should be found.

System information