dominikbraun / timetrace

A simple CLI for tracking your working time.
Apache License 2.0
685 stars 76 forks source link

Display project modules #70

Closed FelixTheodor closed 3 years ago

FelixTheodor commented 3 years ago

closes #60

I added a new method ListProjectModules that uses loadProjectModules to create a string with all the modules of a project. They will be printed out on timetrace list projects

But there is a problem with this solution: Modules, that are created for a non-existent parent-project are not listed at all. Therefore, I would propose that we prevent users from creating modules for non-existent projects.

dominikbraun commented 3 years ago

Therefore, I would propose that we prevent users from creating modules for non-existent projects.

Absolutely, we'll need to open an issue for that.