MCPcopy Create free account
hub / github.com/auth0/auth0-cli / ApplicationCreate

Method ApplicationCreate

internal/display/apps.go:180–200  ·  view source on GitHub ↗
(client *management.Client, revealSecrets bool)

Source from the content-addressed store, hash-verified

178}
179
180func (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
202func (r *Renderer) ApplicationUpdate(client *management.Client, revealSecrets bool) {
203 r.Heading("application updated")

Callers 1

createAppCmdFunction · 0.80

Calls 7

HeadingMethod · 0.95
ResultMethod · 0.95
NewlineMethod · 0.95
InfofMethod · 0.95
FaintFunction · 0.92
makeApplicationViewFunction · 0.85
quickstartsURIForFunction · 0.85

Tested by

no test coverage detected