22 lines
321 B
Go
22 lines
321 B
Go
package cmd
|
|
|
|
import (
|
|
"log/slog"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var addLinksCmd = &cobra.Command{
|
|
Use: "add-links",
|
|
Short: "Add Links",
|
|
Long: "Add Links",
|
|
// Args: cobra.ExactArgs(1),
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
slog.Info("add Links")
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(addLinksCmd)
|
|
}
|