Crates.io | albert |
lib.rs | albert |
version | 0.1.8 |
source | src |
created_at | 2023-11-26 02:36:40.917917 |
updated_at | 2023-11-26 17:49:42.21084 |
description | A terminal calculator written in Rust with ❤️ |
homepage | |
repository | https://github.com/meysam81/albert |
max_upload_size | |
id | 1048744 |
size | 19,408 |
Perform mathematical operations on the command line.
NOTE: This is a work in progress and it is not ready for production use! Expect any and all the APIs to change without notice prior to the first stable release.
All the distributed binaries have the corresponding checksums available. To
fetch the checksum, add the .sha256
extension to the binary name. For
example, to fetch the checksum for the al-x86_64-unknown-linux-gnu
binary,
run:
curl -LfO https://github.com/meysam81/albert/releases/latest/download/al-x86_64-unknown-linux-gnu
curl -LfO https://github.com/meysam81/albert/releases/latest/download/al-x86_64-unknown-linux-gnu.sha256
sha256sum -c al-x86_64-unknown-linux-gnu.sha256
curl -sSLf https://github.com/meysam81/albert/releases/latest/download/al-x86_64-unknown-linux-gnu -o al
chmod +x al
curl -sSLf https://github.com/meysam81/albert/releases/latest/download/al-x86_64-apple-darwin -o al
chmod +x al
curl -sSLf https://github.com/meysam81/albert/releases/latest/download/al-aarch64-apple-darwin -o al
chmod +x al
curl -sSLf https://github.com/meysam81/albert/releases/latest/download/al-x86_64-unknown-linux-musl -o al
chmod +x al
Currently the following mathematical operations are supported:
$ al 1 + 2
3
$ al 1 - 2 '*' 4
-7
$ al 1 - 2 '*' 4 / 2
-3
If you see any issue, have a feature request, or want to contribute, please feel free to open an issue or a pull request. Any and all contributions are welcome.
This project is licensed under the Apache License, Version 2.0.