Add flag to 'Upsert-Reports' command for optional overwrite #6298
Labels
Build Tested: None
This issue cannot be build tested or will not be build tested
enhancement
New feature or request
feature: reports
Team Ruru 🦉
Roxy, Ferg, Noel
Milestone
Is your feature request related to a problem? Please describe 👀
Upsert command uses an insert functionality by checking for existing report ids before upserting.
Would make for faster development if we could pass an optional overwrite (-o?) flag so that developers can quickly test iterations of new reports.
This would also be useful for testing - the upserting of reports on startup of our backend uses the same cli function as 'upsert-reports'.
Adding an optional overwrite flag would cover both use cases enabling fast development of a specific report, and fast overwrite for testers when testing standard reports.
Describe the solution you'd like 🎁
Add an optional '-o' to the 'upsert-report' command.
If this is added, don't check for if the report exists on upsert.
Describe alternatives you've considered 💭
Additional context 💌
Moneyworks Jobcode 🧰
OMS:REPT
The text was updated successfully, but these errors were encountered: