add test for KontorTime
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
2026-10-04 23:05:53 +02:00
parent dea3c3d36a
commit e811fda863
4 changed files with 58 additions and 3 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ var exportCmd = &cobra.Command{
"user/mail": &mail,
}
for path, value := range registry {
GetJSON(client, login.Token, fmt.Sprintf("%s/%s/%s", server, "api/v1", path), value)
GetJSON(client, login.Token, fmt.Sprintf("%s/%s/%s", server, apiVersion, path), value)
}
export := ExportData{
Sport: sports,
+1 -1
View File
@@ -37,6 +37,6 @@ func Execute() {
}
func init() {
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.config/kli.yaml)")
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "c", "config file (default is $HOME/.config/kli.yaml)")
rootCmd.PersistentFlags().CountVarP(&verbose, "verbose", "v", "increase verbosity (-v, -vv, -vvv)")
}