Skip to content

Command-line interface to Red Cross Pegass WebApp

License

Notifications You must be signed in to change notification settings

fabien-chebel/pegass-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

67d9f64 · Aug 28, 2024

History

37 Commits
Feb 12, 2024
Mar 28, 2023
Apr 24, 2024
Jun 13, 2022
Aug 1, 2020
Jun 5, 2022
Mar 28, 2023
Jun 21, 2022
Aug 28, 2024
Aug 28, 2024
Apr 24, 2024
Mar 28, 2023

Repository files navigation

Pegass CLI

A command-line interface to the French Red Cross planning web app, Pegass.

Usage

This app requires a valid account on Pegass.

Prior to running the app, you must create a config.json file with the following content

{
  "username": "PEGASS USERNAME GOES HERE",
  "password": "PEGASS PASSWORD GOES HERE",
  "totp_secret_key": "TOTP SECRET KEY GOES HERE"
}

This file will allow you to authenticate using the following command: pegass-cli login.

Once logged-in, you may run any of the supported commands.

NAME:
   Pegass CLI - Interact with Red Cross's Pegass web app through the CLI

USAGE:
   pegass-cli [global options] command [command options] [arguments...]

COMMANDS:
   login    Authenticate to Pegass
   whoami   Get current user information
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help