35 lines
907 B
Markdown
35 lines
907 B
Markdown
# 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
|
|
$ gst projects
|
|
- List of projects
|
|
$ gst tasks [--project|-p] 11 [--last|-l]
|
|
- List of tasks, if -pr grouped per projects else just last open tasks
|
|
```
|
|
|
|
```sh
|
|
$ gst addtask [--project|-p] 11 -t "Task title"
|
|
- Add a task to a project
|
|
```
|
|
|
|
```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.."
|
|
- Add new stamp to the task 212
|
|
$ gst stamp --stop
|
|
- Stop the last open stamp
|
|
$ gst stamp --update -d "stamp description" --dstart "20210101.." --dend "20210101.."
|
|
- Update last stamp
|
|
```
|
|
|
|
## Why Rust?
|
|
|
|
Because my mind wants to learn something new. Also, why not?
|