Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CLI to crawl through and find all dirs containing manifest.json #6295

Open
fergie-nz opened this issue Jan 28, 2025 · 1 comment · May be fixed by #6347
Open

Update CLI to crawl through and find all dirs containing manifest.json #6295

fergie-nz opened this issue Jan 28, 2025 · 1 comment · May be fixed by #6347
Assignees
Labels
enhancement New feature or request feature: reports Team Ruru 🦉 Roxy, Ferg, Noel
Milestone

Comments

@fergie-nz
Copy link
Contributor

fergie-nz commented Jan 28, 2025

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

@fergie-nz fergie-nz added this to the v2.6.0 milestone Jan 28, 2025
@andreievg
Copy link
Collaborator

andreievg commented Jan 28, 2025

@fergie-nz fergie-nz added Team Ruru 🦉 Roxy, Ferg, Noel and removed needs triage labels Jan 28, 2025
@fergie-nz fergie-nz self-assigned this Jan 28, 2025
@fergie-nz fergie-nz linked a pull request Jan 29, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature: reports Team Ruru 🦉 Roxy, Ferg, Noel
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants