(rule *management.Rule)
| 67 | } |
| 68 | |
| 69 | func (r *Renderer) RuleCreate(rule *management.Rule) { |
| 70 | r.Heading("rule created") |
| 71 | r.Result(makeRuleView(rule)) |
| 72 | r.Newline() |
| 73 | |
| 74 | // TODO(cyx): possibly guard this with a --no-hint flag. |
| 75 | r.Infof("%s To edit this rule, run `auth0 rules update %s`", |
| 76 | ansi.Faint("Hint:"), |
| 77 | rule.GetID(), |
| 78 | ) |
| 79 | |
| 80 | r.Infof("%s Consider running `auth0 test login` to emulate the login flow", |
| 81 | ansi.Faint("Hint:"), |
| 82 | ) |
| 83 | } |
| 84 | |
| 85 | func (r *Renderer) RuleUpdate(rule *management.Rule) { |
| 86 | r.Heading("rule updated") |
no test coverage detected