Skip to content

szekelymilan/e-kreta-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

e-Kréta CLI

📚 Check your electronic diary - from right inside your terminal.

PRs Welcome Latest Release MIT License

Table of Contents

Description

Check your electronic diary in a second, by running a single command.

Too lazy for typing? Run the CLI in interactive mode! 😎

Features

  • ⚡ Interactive mode
  • 💾 Saves login credentials
  • 🖥 Shows subject averages
  • 🏠 Downloads assignments
  • ✉ Downloads messages
  • ✅ Tested
  • ⛏ Maintained

Installation

npm

$ npm i -g e-kreta-cli

yarn

$ yarn global add e-kreta-cli

Usage

$ kreta --help

  Check your electronic diary - from right inside your terminal.

  Usage
    $ kreta <assignments|averages|messages|reconfigure> [options]

    Use 'kreta' for interactive mode.

  Options
    assignments:
      -o,   --output       Output folder
      --sD, --startDate    Start date of interval (yyyy-mm-dd)
      --eD, --endDate      End date of interval (yyyy-mm-dd)

    messages:
      -o,   --output       Output folder

  Examples
    See: https://github.com/szekelymilan/e-kreta-cli#examples

Examples

Reconfigure

$ kreta reconfigure

Show averages

$ kreta averages

Download assignments to My Assignments folder (from 2020-03-16 to 2020-03-20)

$ kreta assignments -o "My Assignments" --sD="2020-03-16" --eD="2020-03-20"

Download messages to My Messages folder

$ kreta messages -o "My Messages"

Contributors

License

MIT © Milan Szekely