Config Commands¶
Manage the global pull and push command configuration.
mver config set pull-command¶
Set the global pull_command in mver.config.yml.
The command string may contain tokens that are substituted at runtime.
Examples:
# DVC
mver config set pull-command "dvc pull {path}"
# AWS S3
mver config set pull-command "aws s3 sync s3://my-bucket/{path} ./{path}"
# Git LFS
mver config set pull-command "git lfs pull --include={path}"
# Custom script
mver config set pull-command "./scripts/pull_model.sh {model} {version} {path}"
mver config set push-command¶
Set the global push_command in mver.config.yml.
Example:
mver config show¶
Print the current global config.
Example output:
If mver.config.yml is absent or empty:
Commit mver.config.yml
Commit mver.config.yml to git so all team members share the same storage backend configuration without extra setup.