Skip to content

v0.0.1-dev.44

Pre-release
Pre-release

Choose a tag to compare

@felangel felangel released this 18 Jul 19:47
· 1054 commits to master since this release
66a6a70

File Conflict Resolution

By default, mason make will prompt on each file conflict and will allow users to specify how the conflict should be resolved via Yna:

Y - overwrite (default)
n - do not overwrite
a - overwrite this and all others

A custom file conflict resolution strategy can be specified via the --on-conflict option:

# Always prompt when there is a file conflict (default)
$ mason make hello --name Felix --on-conflict prompt

# Always overwrite when there is a file conflict
$ mason make hello --name Felix --on-conflict overwrite

# Always skip when there is a file conflict
$ mason make hello --name Felix --on-conflict skip