You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful if the output format of cortextool rules get <namespace> <group> matched the exact format expected to cortextool rules sync. This would make it easier to get down all rules and commit them into Git, then sync them back again. Right now I have to munge the YAML slightly to make it compatible to sync.
$ cortextool rules print --disable-color > tmp.yml
$ cortextool rules sync tmp.yml
ERRO[0000] unable parse rules file error="yaml: unmarshal errors:\n line 1: field group1 not found in type rules.RuleNamespace\n line 13: field group2 not found in type rules.RuleNamespace" file=tmp.yml
cortextool: error: sync operation unsuccessful, unable to parse rules files: file read error, try --help
It would be helpful if the output format of
cortextool rules get <namespace> <group>
matched the exact format expected tocortextool rules sync
. This would make it easier toget
down all rules and commit them into Git, thensync
them back again. Right now I have to munge the YAML slightly to make it compatible tosync
.Right now the format is this:
Ideally it would be this:
The text was updated successfully, but these errors were encountered: