adding readme

This commit is contained in:
Jorge Bolois 2023-08-19 17:22:48 +02:00
parent 2e46eec537
commit cd737f1032
2 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,18 @@
# temp
Simple personal CLI to gather machine temperatures.
Simple personal CLI tool for monitoring temperatures.
You need to have ```nvidia-smi``` and ```lm-sensors``` configured and installed.
## Usage
### CPU (Only AMD)
Display the current temperature in Celsius.
```
temp cpu
```
### GPU (Only NVIDIA)
Display the current temperature in Celsius.
```
temp gpu
```

View File

@ -3,11 +3,11 @@ use structopt::StructOpt;
#[derive(Debug, StructOpt)]
#[structopt(
name = "temp",
about = "Simple personal CLI to gather machine temperatures."
about = "Simple personal CLI tool for monitoring temperatures."
)]
pub enum Arguments {
#[structopt(about = "Temperature in Celsius, ONLY AMD")]
#[structopt(about = "Temperature in Celsius (Only AMD)")]
CPU,
#[structopt(about = "Temperature in Celsius, ONLY NVIDIA")]
#[structopt(about = "Temperature in Celsius (Only NVIDIA)")]
GPU,
}