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
Copy file name to clipboardExpand all lines: README.md
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,14 +32,32 @@ The following commands are used by users to interact with their cortex ruler con
32
32
33
33
#### Rules List
34
34
35
+
This command will retrieve all of the rule groups stored in the specified cortex instance and print each one by rule group name and namespace to the terminal.
36
+
35
37
cortex-cli rules list
36
38
37
-
#### RulesGet
39
+
#### Rules Print
40
+
41
+
This command will retrieve all of the rule groups stored in the specified cortex instance and print them to the terminal.
42
+
43
+
cortex-cli rules print
44
+
45
+
#### Rules Get
46
+
47
+
This command will retrieve the specified rule group from cortex and print it to the terminal.
38
48
39
-
cortex-cli rules get example_rule_group
49
+
cortex-cli rules get example_namespace example_rule_group
50
+
51
+
#### Rules Delete
52
+
53
+
This command will retrieve the specified rule group from cortex and print it to the terminal.
This command will load each rule group in the specified files and load them into cortex. If a rule already exists in cortex it will be overwritten if a diff is found.
0 commit comments