monitoring-mixins / mixtool

mixtool is a helper for easily working with jsonnet mixins.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't overwrite existing files when creating new from templates

metalmatze opened this issue · comments

Currently the mixtool will overwrite file that already exists (even after changes where made)

Reproducing

mixtool generate prometheus-alerts /tmp/example.libsonnet
Make some changes and then run again:
mixtool generate prometheus-alerts /tmp/example.libsonnet
Changes are now lost.