Skip to content

GnakryDev/gnakrydev-cli

Repository files navigation

Gnakrydev-cli

CLI tool in order to interact with the gnakrydev mobile app.

Installation

pip install https://github.com/GnakryDev/gnakrydev-cli/raw/main/release/gnakrydev-0.1.3-py3-none-any.whl --force-reinstall

Simple notification

Usage

Bash

usage: gnakrydev message [-h] --apikey APIKEY --title TITLE --content CONTENT [--type TYPE]

optional arguments:
  -h, --help         show this help message and exit
  --apikey APIKEY    apiKey available on the mobile-app
  --title TITLE      Message title
  --content CONTENT  Message content
  --type TYPE        Message type: info, warning, success, error. Default= info

Docker

docker run -it --rm  gnakrydev  version

Website Health-Check

Usage

usage: gnakrydev health [-h] --config CONFIG --apikey APIKEY [--verbose]

optional arguments:
  -h, --help       show this help message and exit
  --config CONFIG  YML config file path
  --apikey APIKEY  apiKey available on the mobile-app
  --verbose        Show request details in stdout

YML config file example

endpoints:
  - name: "SG-Mooc"
    url: https://mooc.savoirguinee.com/

  - name: "Meteo-Guinée"
    url: https://meteoguinee.net/

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

If you find any issues, feel free to report here

License

MIT

Releases

No releases published

Packages

No packages published