go-stine

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2020 License: MIT Imports: 1 Imported by: 0

README

go-stine

Build status Release status GitHub Release

STiNE CLI / library written in/for golang.

You can find more details about STiNE here:

Installation

Linux

Download and unpack the latest release:

# download
curl -O -L https://github.com/irgendwr/go-stine/releases/latest/download/stine_Linux_x86_64.tar.gz
# unpack
tar -xvzf stine_Linux_x86_64.tar.gz
# copy to folder in $PATH
sudo cp ./stine /usr/bin/stine

Create a file called .stine.yaml (either inside your home folder or the folder containing the program) (e.g. using nano ~/.stine.yaml) and edit it to fit your needs. See config section for examples.

Config

If no config file is specified using the -c/--config flag, the program looks for a file called .stine.yaml in the following paths:

  1. Program directory (path the stine binary is in)
  2. CWD (current working directory)
  3. Home folder

Note: Do not use Tabs! Indent config with spaces instead.

Example:

username: baw1234
password: your-password-here

Usage

List of commands and flags: stine help

Examples

Export a schedule: stine scheduler export Y2020M07 -o ./2020_07.ics

List exams: stine exams

List all exam results: stine examresults -a

Build

Run make.

Contributing

Contributions are welcome! Feel free to open an issue, or even better: submit a pull-request.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL