szekelymilan / e-kreta-cli

πŸ“š Lightweight CLI app for e-KrΓ©ta.
https://www.npmjs.com/package/e-kreta-cli
MIT License
8 stars 1 forks source link
cli e-kreta kreta

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

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