gst-rust/README.md

35 lines
907 B
Markdown
Raw Normal View History

2021-11-13 19:57:07 +01:00
# Gst
Gst is a cli command that consumes a remote API to achieve different actions about time-stamps
## What we're looking for
We're looking for a cli command that acts like this:
```sh
2021-11-18 11:58:02 +01:00
$ gst projects
2021-11-13 19:57:07 +01:00
- List of projects
2021-11-18 11:58:02 +01:00
$ gst tasks [--project|-p] 11 [--last|-l]
2021-11-13 19:57:07 +01:00
- List of tasks, if -pr grouped per projects else just last open tasks
2021-11-18 20:58:24 +01:00
```
```sh
2021-11-18 11:58:02 +01:00
$ gst addtask [--project|-p] 11 -t "Task title"
- Add a task to a project
2021-11-18 20:58:24 +01:00
```
```sh
$ gst stamps [--project|-p] [--last|-l]
- List last stamps and status (open, closed...), like a summary
$ gst stamp --start -t 212 -d "stamp description" --dstart "20210101.." --dend "20210101.."
2021-11-13 19:57:07 +01:00
- Add new stamp to the task 212
2021-11-18 11:58:02 +01:00
$ gst stamp --stop
2021-11-13 19:57:07 +01:00
- Stop the last open stamp
2021-11-18 20:58:24 +01:00
$ gst stamp --update -d "stamp description" --dstart "20210101.." --dend "20210101.."
- Update last stamp
2021-11-13 19:57:07 +01:00
```
## Why Rust?
Because my mind wants to learn something new. Also, why not?