monitoring-mixins / mixtool

mixtool is a helper for easily working with jsonnet mixins.
Apache License 2.0
139 stars 15 forks source link

Don't overwrite existing files when creating new from templates #5

Closed metalmatze closed 6 years ago

metalmatze commented 6 years ago

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.