-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathgit-quick-stats.ts
94 lines (94 loc) · 2.68 KB
/
git-quick-stats.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
const completionSpec: Fig.Spec = {
name: "git-quick-stats",
description:
"Git quick statistics is a simple and efficient way to access various statistics in git repository",
options: [
{
name: ["--help", "-h"],
description: "Show help for git-quick-stats",
},
{
name: ["--suggest-reviewers", "-r"],
description: "Show the best people to contact to review code",
},
{
name: ["--detailed-git-stats", "-T"],
description: "Give a detailed list of git stats",
},
{
name: ["---git-stats-by-branch", "-R"],
description: "Show detailed list of git stats by branch",
},
{
name: ["--changelogs", "-c"],
description: "Show changelogs",
},
{
name: ["--changelogs-by-author", "-L"],
description: "Show changelogs by author",
},
{
name: ["--my-daily-stats", "-S"],
description: "Show your current daily stats",
},
{
name: ["--my-csv-output-by-branch-stats", "-V"],
description: "Output daily stats by branch in CSV format",
},
{
name: ["--json-output", "-j"],
description: "Save git log as a JSON formatted file to a specified area",
},
{
name: ["--branch-tree", "-b"],
description: "Show an ASCII graph of the git repo branch history",
},
{
name: ["--branches-by-date", "-D"],
description: "Show branches by date",
},
{
name: ["--contributors", "-C"],
description: "See a list of everyone who contributed to the repo",
},
{
name: ["--commits-per-author", "-a"],
description: "Displays a list of commits per author",
},
{
name: ["--commits-per-day", "-d"],
description: "Displays a list of commits per day",
},
{
name: ["--commits-by-month", "-m"],
description: "Displays a list of commits per month",
},
{
name: ["--commits-by-year", "-Y"],
description: "Displays a list of commits per year",
},
{
name: ["--commits-by-weekday", "-w"],
description: "Displays a list of commits per weekday",
},
{
name: ["--commits-by-hour", "-o"],
description: "Displays a list of commits per hour",
},
{
name: ["--commits-by-author-by-hour", "-A"],
description: "Displays a list of commits per hour by author",
},
{
name: ["--commits-by-timezone", "-z"],
description: "Displays a list of commits per timezone",
},
{
name: ["--commits-by-author-by-timezone", "-Z"],
description: "Displays a list of commits per timezone by author",
},
],
// Only uncomment if git-quick-stats takes an argument
// args: {}
};
export default completionSpec;