mlem
mlem copied to clipboard
`declare`: split into `create` and `config` ?
mlem declare
is the only command name that I still don't love, TBH. But maybe it's more of a product design question than naming (and involves the term "MLEM Object" too)
Originally posted by @jorgeorpinel in https://github.com/iterative/mlem.ai/pull/82#pullrequestreview-994012370
More context:
declare is introduced as a way to pre-configure builds. "Declare" sounds nothing like that at first sight at least. The first hint comes when you read through the sample console output and realize you're "declaring" an object of type builder, but even then the relationship is quite indirect.
create and declare are both about the same. You need to specify what to create/declare (object_type arg).
The problem I think is that it's too overloaded. Maybe we can separate the command to create models, data, and links vs. the one to config(ure) builders, envs, and deployments.
Transferred from docs PR. Not sure it's still a valid/relevant Q (feel free to close if not).
I understand the motivation, but guess this won't be relevant for some time now, until we get more user feedback about deployment usage. Thanks @jorgeorpinel.