Skip to content

garzj/htlnm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

htlnm

A cli tool for notenmanagement.htl-braunau.at written in Rust (based on a class assignment).

Prereqs

Build and install

cargo install --path .

Example usage

# Print an overview of all commands and flags
htlnm -h

# Print help menu for data that can be fetched
htlnm get -h

# Login to the API
htlnm -l -u john.doe -p 'myPA$$W0RD'

# Print the login response (can returned cached data without the -l flag)
htlnm get login

# Fetch student data
htlnm get student

Then login response is cached in the app's config file: ~/.config/htlnm/config.json (path depending on the OS).

Development

# install cargo watch
cargo install cargo-watch

# rerun tool when a file changes
cargo watch -x 'run -- get student'

About

A cli for notenmanagement.htl-braunau.at

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages