tempo/bin/tempo
use io;
use os;
import "../src/parse.j" as parse;
import "../src/format.j" as format;
def total as int init 0;
for (def arg in os.ARGS[1..len(os.ARGS)]) {
$total = $total + parse.seconds($arg);
}
io.printf("%s\n", format.duration($total));