11 unstable releases (3 breaking)

0.5.0 Jun 13, 2021
0.4.5 Apr 20, 2021
0.4.4 Feb 8, 2021
0.4.0 Nov 11, 2020
0.2.2 Sep 18, 2020

#597 in Authentication

MIT/Apache

29KB
767 lines

GitHub Workflow Status Crates.io Crates.io



Installation

Rust Cargo

cargo install talenta

macOS Homebrew

brew tap el7cosmos/brew
brew install talenta

Usage

Login

# Interactive
talenta login

# Non-interactive
talenta login --email <EMAIL> --password <PASSWORD>

Request attendance

# Interactive, use current date
talenta attendance

# Interactive, change attendance date
talenta attendance --date <DATE>

# Non-interactive, use current date
talenta attendance --checkin-time <TIME> --checkout-time <TIME> --description <description>

# Non-interactive, change attendance date
talenta attendance --date <DATE> --checkin-time <TIME> --checkout-time <TIME> --description <description>

Independent checkin/checkout

# Interactive, use current date and time
talenta attendance checkin
talenta attendance checkout

# Interactive, change attendance date and time
talenta attendance checkin --date <DATE> --time <TIME>
talenta attendance checkout --date <DATE> --time <TIME>

# Non-interactive, use current date and time
talenta attendance checkin --description <description>
talenta attendance checkout --description <description>

# Non-interactive, change attendance date and time
talenta attendance checkin --description <description> --date <DATE> --time <TIME>
talenta attendance checkout --description <description> --date <DATE> --time <TIME>
  • DATE: ISO 8601 date format (YYYY-mm-dd)
  • TIME: Time in format HH:MM

Live attendance

# Interactive
talenta live checkin
talenta live checkout

# Non-interactive
talenta live checkin --latitude <FLOAT> --longitude <FLOAT> --no-interaction
talenta live checkout --latitude <FLOAT> --longitude <FLOAT> --no-interaction

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~10–24MB
~374K SLoC