Create root command via function

This commit is contained in:
Michael Eischer committed 2025-02-07 21:29:33 +01:00
1 parent aa9cdf93cf
commit 412d6d9ec5
43 files changed
+163 -215

No files matched your search

-4
View File
@@ -73,10 +73,6 @@ Exit status is 12 if the password is incorrect.
return cmd
}
func init() {
cmdRoot.AddCommand(newStatsCommand())
}
// StatsOptions collects all options for the stats command.
type StatsOptions struct {
// the mode of counting to perform (see consts for available modes)