metricflow
metricflow copied to clipboard
[Feature] Add option to automatically run `dbt parse` when running mf commands.
Is this your first time submitting a feature request?
- [X] I have read the expectations for open source contributors
- [X] I have searched the existing issues, and I could not find an existing issue for this feature
- [X] I am requesting a straightforward extension of existing metricflow functionality, rather than a Big Idea better suited to a discussion
Describe the feature
I want to test changes to my configs locally in the CLI. To pick up changes to my configs, I need to run dbt parse
to generate a new semantic manifest. I'll often forget to run this command, then get confused when my config changes don't show up in my semantic graph.
For example, if i add a new metric to my configs and run mf list metrics
it won't show up. I need to run dbt parse && dbt list metric
I'm proposing adding an option to mf
to parse my project before running. For example mf --parse list metrics
or mf --parse query --metrics revenue
. By default, this option would be set to false so we do not add additional latency to mf commands.
Describe alternatives you've considered
Run dbt parse && dbt list metrics
Who will this benefit?
Users developing configs who want to test their changes.
Are you interested in contributing this feature?
No response
Anything else?
No response