Skip to content

authorizerdev/authorizer-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

authorizer-cli

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

Getting Started

Here is a quick guide on getting started with the authorizer-cli tool.

Step 1 - Create Instance

Get Authorizer URL by instantiating Authorizer instance and configuring it with necessary environment variables.

Step 2 - Install Binary

cargo install authorizer-cli

Step 3 - Use the cli tool from your terminal.

  • 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.

Development

  • Clone this repo
  • For development use
cargo build
  • For production use
cargo build --release

Support our work

Github Sponsorship: https://github.com/sponsors/authorizerdev

About

CLI for various authorizer actions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages