https://github.com/praxtube/dogg
CLI tool to log data manually
https://github.com/praxtube/dogg
data data-logger log logger
Last synced: 16 days ago
JSON representation
CLI tool to log data manually
- Host: GitHub
- URL: https://github.com/praxtube/dogg
- Owner: PraxTube
- License: mit
- Created: 2023-06-19T15:43:58.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-28T05:19:22.000Z (almost 3 years ago)
- Last Synced: 2025-02-27T01:45:16.466Z (over 1 year ago)
- Topics: data, data-logger, log, logger
- Language: Rust
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **D**ata L**ogg**er
A CLI tool that allows you to log data manually.
The main use case is to log data that you cannot monitor
any other way and to store it inside a `csv` file.
TODO: Video here
## Usage
The setup is little bit cumbersome, but once
it is finished logging data is very fast and easy.
To setup the default `config.json` and the neccessary
directories, run
```
cargo install dogg
dogg
```
This will generate `~/.config/dogg/data/config.json`
with the following content
```
{
"dummy": {
"help": [
"Your help message here",
],
"type": [
"u32"
],
"value": [
"123"
]
}
}
```
You can add new categories with their
parameters here. The supported types are
```
u32
i32
f32
bool
String
```
The `value` will determine the default value,
which will be applied if the user provides
blank input. You can also disable the default
value by using `"None"`.