Crates.io | ty |
lib.rs | ty |
version | 0.2.1 |
source | src |
created_at | 2021-01-01 22:26:55.99503 |
updated_at | 2021-01-25 13:07:22.91793 |
description | A tool to say thank you. |
homepage | |
repository | https://github.com/pawe/ty |
max_upload_size | |
id | 330318 |
size | 38,150 |
Please note: This is a beginners project!
A small tool to say thank you. ty
is a command line tool, that takes a program
name as input and sends it to our thank-you server. Every once in a while, we
try to figure out who the authors of the thanked tools are and then try to
deliver the collected gratitude for their work. Optionally, it takes a message.
cargo install ty
You can install it with cargo (like above), or download a release build from github releases.
ty rustc
With a message:
ty rustc -m "The error message really helped me out, Cheers!"
If you just want to thank the last completed command, this is alias will do the trick.
alias ty='ty `history -p \!:0`'
$ cargo build --release
Compiling ...
Finished release [optimized] target(s) in 12.04s
$ ty
Here, the ty
becomes ty cargo
since history expands !:0 to the first token
of the most recent command.
First, it's a nice thing to say thank you from time to time for all the great work one is using every day. This hopefully makes it a little bit more convenient.
Also, this seems to be a nicely scoped project to get into rust and its ecosystem. Like cli tooling, building a simple webserver, how to organize a project, deploy it, and of course use the language itself.