CLI tool for authorizer.dev, use this to perform various operations on your authorizer instance.
For detailed information about all the supported operations check docs
Here is a quick guide on getting started with the authorizer-cli
tool.
Get Authorizer URL by instantiating Authorizer instance and configuring it with necessary environment variables.
cargo install authorizer-cli
- Invite members by uploading a csv or txt file
authorizer-cli invite-members --file-path ./authorizer_sample.csv
- Download sample files for usage
authorizer-cli-test download-samples --file-path .
- Print help message
authorizer-cli --help
Output:
CLI tool for authorizer
Usage: authorizer-cli [OPTIONS] [COMMAND]
Commands:
invite-members Invite users to app [--file-path <PATH>]
download-samples Download samples [--file-path <PATH>]
help Print this message or the help of the given subcommand(s)
Options:
-d, --debug... Turn debugging information on
-h, --help Print help information
-V, --version Print version information
Note: pass -d
flag after command to turn ON Debug mode.
- Clone this repo
- For development use
cargo build
- For production use
cargo build --release
Github Sponsorship: https://github.com/sponsors/authorizerdev