mason_bricks
mason_bricks copied to clipboard
feat: How to skip the "SKIP THIS IF NOT USING A JSON FILE" message when executing model from config
Brick
- [x] model
- [ ] feature_brick
- [ ] app_ui
- [ ] service
- [ ] service_package
Description
When running the cli in config mode I get a message "SKIP THIS IF NOT USING A JSON FILE" and I need to do "Enter"
Desired Solution
Have an option to not have this message and start immediatly
Alternatives Considered
A clear and concise description of any alternative solutions or features you've considered.
Additional Context
I run the mason make model from an "exec" command and I do not want to add another complexith
Hi @fvisticot 👋
Thanks for opening this issue! I agree with this. I think it would be a lot better to just be able to detect this and not need to prompt it.
The current reason this is needed is due to prompting for the path file when running mason make model. It would look something like this mason make model --jsonFile ./my-json.json
now when doing it like this, people can tap "tab" and auto correct their path. Where if it was a prompt I do instead, we lose that ability and could lead to people not understanding why their file was missed.
Let me take a look to see what I can do.
Again, thanks for opening the issue!