Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kayhide/daimust
Command line tool to manage your "Daim" timesheet
https://github.com/kayhide/daimust
Last synced: about 1 month ago
JSON representation
Command line tool to manage your "Daim" timesheet
- Host: GitHub
- URL: https://github.com/kayhide/daimust
- Owner: kayhide
- License: bsd-3-clause
- Created: 2018-10-07T15:55:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-16T00:30:09.000Z (over 5 years ago)
- Last Synced: 2023-10-20T20:55:32.131Z (about 1 year ago)
- Language: Haskell
- Homepage:
- Size: 117 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# daimust
`daimust` is used to update your timesheet on Daim through the command line.
## Install
You can build and install `daimust` with either `stack` or `nix-build`.
## Quickstart
You must have your username and password set in environment variables for
`daimust` to read. You also need to set the Daim URL:```console
$ export DAIM_URL="https://pay.kizunajapan.co.jp/itr/n/MainLogin.php"
$ export DAIM_USERNAME="123457890"
$ export DAIM_PASSWORD="foobarbaz"
```You can use `daimust` to list your time for the current month:
```console
$ daimust list
```You can also `daimust` to add time entries:
```console
$ daimust put 4 1000 1800
```This adds a time entry for the 4th of the month from 10:00 am to 6:00 pm (18:00).
You can change the current time frame `daimust` will use. For instance, to put
the focus on the previous time period, use the next command. This is useful to
use if you always fill out your time for the previous month (instead of filling
it out everyday).```console
$ daimust focus prev
```