omfj / appwash-rs

🧺 appWash in your terminal

Home Page:https://omfj.no/projects/appwash-cli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI for AppWash written in Rust

Archived since I no longer live at a place with Miele appWash

Warning I AM NOT AFFILIATED WITH MIELE OR APPWASH IN ANY WAY. USE THIS SOFTWARE AT YOUR OWN RISK. I AM NOT RESPONSIBLE FOR ANY DAMAGE OR LOSS CAUSED BY THIS SOFTWARE.

CLI for the website appwash.com. Uses the same API.

This projects is going to be the same as appwash-cli, but written in Rust.

Install

If you are on Mac and have cargo installed you use the Makefile in the repo.

git clone git@github.com:omfj/appwash-rs
cd appwash-rs
make all

Now the binary should be installed to your system. You can type appwash into your terminal emulator and the output should look similar to this:

$ appwash

A command-line interface for Miele appWash

Usage: appwash <COMMAND>

Commands:
  reserve   Reserves a machine
  stop      Stops a machine
  balance   Prints users balance
  me        Prints information about the user
  list      Lists available machines
  location  Get information about your location
  history   Lists your activity and history
  help      Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help information
  -V, --version  Print version information

Remove/Uninstall

To remove the binary from your system run make clean when inside of the folder you installed from.

TODO

  • Better error handling
  • Manage timezones better
  • Store token between command usage

Rust is hard, please give me feedback.

About

🧺 appWash in your terminal

https://omfj.no/projects/appwash-cli/


Languages

Language:Rust 90.6%Language:Python 8.6%Language:Makefile 0.8%