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) }
func (cmd *Access) Run(c *cli.Context) { access := access_control.Access(cmd.network) fmt.Println("Location Provisioning Allowed:", access.LocationProvisioningAllowed) }