예제 #1
0
func (cmd *Access) Run(scope scope.Scope, c *cli.Context) {
	if err := net.VerifyLoginURL(cmd.network); err != nil {
		error_handler.ErrorExit(err)
	}
	access, err := access_control.Access(cmd.network)
	if nil != err {
		error_handler.ErrorExit(err)
	}
	fmt.Println("Location Provisioning Allowed:", access.LocationProvisioningAllowed)
}
예제 #2
0
func (cmd *Access) Run(c *cli.Context) {
	access := access_control.Access(cmd.network)
	fmt.Println("Location Provisioning Allowed:", access.LocationProvisioningAllowed)
}