Update CLI to crawl through and find all dirs containing manifest.json #6295
Labels
Build Tested: Dev
Issue cannot be tested in build but tested by dev
enhancement
New feature or request
feature: reports
Team Ruru 🦉
Roxy, Ferg, Noel
Milestone
Is your feature request related to a problem? Please describe 👀
Current cli command to build reports is rigid to an arbitrary file structure. Would be more user friendly if we can crawl through all sub dirs of a nominated dir (which is passed through with the cli command), and generate all reports within that dir.
Report dirs can be identified by them containing the manifest.json file.
Also rename manifest.json to report-manifest.json for specifificity.
This would make the command flexible to different file structures. For example, we may want to separate between 'forms' and 'reports' and have a number of reports in each dir. Alternatively we may want to pass a path to a specific report dir within that dir. This crawling would create flexibility for devs to generate a json with exactly the reports they are needing.
Describe the solution you'd like 🎁
Describe alternatives you've considered 💭
Additional context 💌
Moneyworks Jobcode 🧰
OMS:REPT
The text was updated successfully, but these errors were encountered: