Skip to content

Commit 60d8137

Browse files
committed
feature: Sync Support
* Removed unnecessary comments Refs: #1
1 parent 4289ae2 commit 60d8137

File tree

3 files changed

+7
-21
lines changed

3 files changed

+7
-21
lines changed

cmd/root.go

+5-19
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,14 @@ import (
1212
// rootCmd represents the base command when called without any subcommands
1313
var rootCmd = &cobra.Command{
1414
Use: "timmy",
15-
Short: "A brief description of your application",
16-
Long: `A longer description that spans multiple lines and likely contains
17-
examples and usage of using your application. For example:
15+
Short: "Simple and easy to use time tracker",
16+
Long: `Timmy is a simple and easy to use time tracker. You can use it to track, manage and sync your time from any terminal.
1817
19-
Cobra is a CLI library for Go that empowers applications.
20-
This application is a tool to generate the needed files
21-
to quickly create a Cobra application.`,
22-
// Uncomment the following line if your bare application
23-
// has an action associated with it:
24-
// Run: func(cmd *cobra.Command, args []string) { },
18+
More information at https://github.com/snturk/timmy/blob/main/README.md
19+
`,
2520
}
2621

2722
// Execute adds all child commands to the root command and sets flags appropriately.
28-
// This is called by main.main(). It only needs to happen once to the rootCmd.
2923
func Execute() {
3024
err := rootCmd.Execute()
3125
if err != nil {
@@ -34,13 +28,5 @@ func Execute() {
3428
}
3529

3630
func init() {
37-
// Here you will define your flags and configuration settings.
38-
// Cobra supports persistent flags, which, if defined here,
39-
// will be global for your application.
40-
41-
// rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.timmy.yaml)")
42-
43-
// Cobra also supports local flags, which will only run
44-
// when this action is called directly.
45-
rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
31+
//rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
4632
}

cmd/sync.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright © 2024 NAME HERE <EMAIL ADDRESS>
2+
Copyright © 2024 Muratcan Senturk <[email protected]>
33
*/
44
package cmd
55

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright © 2024 NAME HERE <EMAIL ADDRESS>
2+
Copyright © 2024 Muratcan Senturk <[email protected]>
33
*/
44
package main
55

0 commit comments

Comments
 (0)