(client *management.Client, revealSecrets bool)
| 178 | } |
| 179 | |
| 180 | func (r *Renderer) ApplicationCreate(client *management.Client, revealSecrets bool) { |
| 181 | r.Heading("application created") |
| 182 | |
| 183 | if !revealSecrets { |
| 184 | client.ClientSecret = auth0.String("") |
| 185 | } |
| 186 | |
| 187 | r.Result(makeApplicationView(client, revealSecrets)) |
| 188 | r.Newline() |
| 189 | r.Infof("Quickstarts: %s", quickstartsURIFor(client.GetAppType())) |
| 190 | |
| 191 | // TODO(cyx): possibly guard this with a --no-hint flag. |
| 192 | r.Infof("%s Emulate this app's login flow by running `auth0 test login %s`", |
| 193 | ansi.Faint("Hint:"), |
| 194 | client.GetClientID(), |
| 195 | ) |
| 196 | r.Infof("%s Consider running `auth0 quickstarts download %s`", |
| 197 | ansi.Faint("Hint:"), |
| 198 | client.GetClientID(), |
| 199 | ) |
| 200 | } |
| 201 | |
| 202 | func (r *Renderer) ApplicationUpdate(client *management.Client, revealSecrets bool) { |
| 203 | r.Heading("application updated") |
no test coverage detected