Пример #1
0
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)
}
Пример #2
0
func (cmd *Delete) Run(c *cli.Context) {
	del := application.Delete(cmd.network, c.Args()[0])
	fmt.Println(del)
}