func NewCmd() *cobra.Command {
	cmd := &cobra.Command{
		Use:   "serve",
		Short: "Start the server",
		Run:   runCmd(),
	}
	return cmd
}
NewCmd builds a new analyse url command
package cryptletter
import (
	"fmt"
	"github.com/Scribblerockerz/cryptletter/pkg/database"
	"github.com/Scribblerockerz/cryptletter/pkg/logger"
	"github.com/Scribblerockerz/cryptletter/pkg/router"
	"github.com/Scribblerockerz/cryptletter/pkg/scheduler"
	"github.com/go-redis/redis"
	"github.com/spf13/cobra"
	"github.com/spf13/viper"
	"net/http"
)