talenta

Crates.iotalenta
lib.rstalenta
version0.5.0
sourcesrc
created_at2020-09-17 09:26:06.886783
updated_at2021-06-13 05:23:42.974892
descriptionTalenta CLI
homepagehttps://crates.io/crates/talenta
repositoryhttps://github.com/el7cosmos/talenta
max_upload_size
id289728
size80,431
Abi أب (el7cosmos)

documentation

README

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.

Commit count: 89

cargo fmt