tekleader

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2016 License: MIT Imports: 3 Imported by: 0

README

TekLeader

Build Status

Tekleader is a POSIX compliant and multiplatforms CLI makes it possible to establish a rank between {EPITECH} students from any city and/or promotion, and much more.

Disclaimer

This is not an official project of EPITECH. Just a student who wants to add new cool stuff and features using intranet api.

Features

  • Dynamic student GPA ranking from any city/promotion
  • Intranet status access
  • Dynamic API wrapper in Golang

Roadmap

  • Improve promotion ranking with all cities
  • Separate API wrapper and core project
  • Improve benchmarks using more concurrency
  • Define more preferences using config file
  • Fix bocal.exe :noel:

Getting started

Installation

You have two ways to get it:

  • Go get the app
go get github.com/w3st3ry/tekleader
  • Build the Dockerfile
docker build -t tekleader .

And soon, just install the binary given in releases.

Configuration

You just have to add the cfg file .tekleader.yml in /etc/. or $HOME/. with your personal authkey can be founded here as the same format in exemple.

You can also set TEK_AUTHKEY as a env variable or directly as binary parameters.

Warn: If you use this app in a container, you must share the file or expose env variable for authentication.

Usage

Commands
  • leader: leader establish a rank between students.
  • status: give intranet status in continue.
  • version: prints the tekleader version and any available update.
Options
Global options
  • auth-key: your authentication key, available on the intranet.
  • timeout: timeout (in sec) for check status requests (default: 2).
Leader options
  • location: set your city (default: lyon).
  • promotion: set your promotion (default: tek2).
  • race: enable race condition to print users (default: false).

Hacking

With pleasure, fork with us 🚀

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