add simple description in command
This commit is contained in:
parent
a82b00b191
commit
11d3892bda
2 changed files with 13 additions and 0 deletions
|
|
@ -22,6 +22,12 @@ import (
|
|||
var serveCmd = &cobra.Command{
|
||||
Use: "serve",
|
||||
Short: "Start the static page server.",
|
||||
Long: `Start the static page server.
|
||||
|
||||
Serve mode will start a HTTP server to serve static pages. It just forward requests
|
||||
to Forgejo server. This is useful when there is not much viewers, or you have other
|
||||
cache/protection layer like Cloudflare in front of the server.
|
||||
`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
viper.BindPFlags(cmd.Flags())
|
||||
// check flags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue