lr
is LoginRadius on the command line. You can perform basic actions of your LoginRadius Admin Console through command line. The actions includes login, logout, email configuration, domain whitelisting etc.
See the manual for more information related to the commands.
lr
is available via Homebrew and as a downloadable binary from the release page.
$ brew tap loginradius/tap
$ brew install lr
$ brew upgrade loginradius/tap/lr
Download packaged binaries from the release page.
-
Verify that you have Go 1.16+ installed
$ go version
If
go
is not installed, follow instructions on the Go website. -
Clone this repository
$ git clone https://github.com/LoginRadius/lr-cli.git $ cd lr-cli
-
Build and install
# installs to '/usr/local' by default; sudo may be required $ make install
# build the `bin\gh.exe` binary > go run script/build.go
There is no install step available on Windows.
-
Run
lr --help
to check if it worked.Run
bin\lr --help
to check if it worked.
We encourage you to contribute to LoginRadius CLI! Please check out the Guidelines for Contributing and become a contributor.
Everyone interacting in LoginRadius CLI codebases, issue trackers, chat rooms, and mailing lists is expected to follow the LoginRadius code of conduct.
For more information on licensing, please refer to License