func (cmd *Delete) Run(scope scope.Scope, c *cli.Context) { if err := net.VerifyLoginURL(cmd.network); err != nil { error_handler.ErrorExit(err) } del, err := application.Delete(cmd.network, scope.Application) if nil != err { error_handler.ErrorExit(err) } fmt.Println(del) }
func (cmd *Delete) Run(c *cli.Context) { del := application.Delete(cmd.network, c.Args()[0]) fmt.Println(del) }