An open API service indexing awesome lists of open source software.

https://github.com/elsehow/orgsumtime

Sum the duration of all logged time in a given org-mode file.
https://github.com/elsehow/orgsumtime

Last synced: about 1 year ago
JSON representation

Sum the duration of all logged time in a given org-mode file.

Awesome Lists containing this project

README

          

# orgsumtime

Sum the duration of all [logged time in a given org-mode file](https://orgmode.org/manual/Clocking-work-time.html).

## install

`npm install -g orgsumtime`

## usage

```sh
orgsumtime ~/Notes/deft/serving\ method.org
# 13 hours
```

Use `--help` flag to see other options.

## programmatic api

```js
require('orgsumtime')('../Notes/my-great-org-file.org', duration => {
// this is a moment.js duration
console.log(duration)
})
```

## license

BSD