Skip to content

Commit 894ba90

Browse files
committed
Merge pull request #16 from lordvlad/clock
add clock project
2 parents ac7596d + ee3eb8b commit 894ba90

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

_posts/2015-04-19-clock.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
layout: post
3+
title: "clock"
4+
description: "Track your working hours on the command line"
5+
category: bash
6+
tags: [bash, utility, time]
7+
---
8+
9+
# clock
10+
11+
Track your working hours on the command line
12+
13+
# Install
14+
15+
Available as a [bpkg](http://www.bpkg.io/)
16+
```sh
17+
bpkg install [-g] lordvlad/clock
18+
```
19+
20+
# Usage
21+
```sh
22+
clock <command> [<task>] [-m <message>] [-f <clockfile>] [-t <dir>]
23+
```
24+
25+
## Commands
26+
- `clock help` show the help
27+
- `clock in` clock in, will clock out any running task
28+
- `clock out` clock out
29+
- `clock log` show all log entries, or log entries for `<task>`
30+
- TODO `clock list` show sums for all tasks
31+
32+
## Task
33+
If no task is specified, the current working directory
34+
will be used as task specifier
35+
36+
## Options
37+
- `-m|--message` record additional message when clocking in/out
38+
- `-f|--file` where to save the clocks, defaults to $HOME/.clocks
39+
40+
# Links
41+
* [Source Code][https://github.com/lordvlad/clock]
42+
* [Author][https://github.com/lordvlad]

0 commit comments

Comments
 (0)