/* Copyright © 2022 NAME HERE */ package cmd import ( "git.nagee.dev/isthisnagee/diary/server" "github.com/spf13/cobra" ) // serveCmd represents the serve command var serveCmd = &cobra.Command{ Use: "serve", Short: "Run a web server at the specified port", Long: `Run a web server at the specified port. Allows you to view, edit, and delete notes from a UI`, Run: func(cmd *cobra.Command, args []string) { server.Run(false, 37931) }, } func init() { rootCmd.AddCommand(serveCmd) }