Text to Speech Speech to Text

job.go 298B

12345678910111213141516171819
  1. package job
  2. import (
  3. "fmt"
  4. "github.com/spf13/cobra"
  5. "strings"
  6. )
  7. func RunCommand() *cobra.Command {
  8. cmd := &cobra.Command{
  9. Use: "job",
  10. Short: "Run the job service",
  11. Run: func(cmd *cobra.Command, args []string) {
  12. fmt.Println("Echo: " + strings.Join(args, " "))
  13. },
  14. }
  15. return cmd
  16. }