blob: 02d46a8252678b7c64fad0273025f4810b35945b (
plain)
1
2
3
4
5
6
7
8
9
|
local args = require "pl.lapp" [[
Generates activity chart
-f (string default 'ansi') Output format of the chart
-y (optional number) Year of the chart
<repos...> (optional string) Paths to repositories with activity
]]
local activity = require "activity"
local format = require("activity.formats." .. args.f)
io.write(activity.generate_table(args.y, args.repos, format))
|