mndrix / clk

a distributed time clock application for the command line
The Unlicense
2 stars 0 forks source link

Implement the report command #6

Closed mndrix closed 14 years ago

mndrix commented 14 years ago

Make a report command so that

clk report foo -p today

runs

clk ls -p today --format=full | clk-report-foo

The report command is just a shortcut, but it should make it easy for reports to be written in any language the user wants.

mndrix commented 14 years ago

I don't know that built in support for this sort of thing is necessary. Users can make arbitrary external scripts that drive clk to report on things they care about. Since the suggested sugar just expands to a bash command line, it's probably something better done by a bash script or a bash alias.