mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-28 22:55:50 +08:00
ci: install xcaddy to fix release flow (#6602)
This commit is contained in:

committed by
GitHub

parent
41f5dd56e1
commit
01be1b54a8
@ -439,7 +439,7 @@ EXPERIMENTAL: May be changed or removed.
|
||||
})
|
||||
|
||||
defaultFactory.Use(func(rootCmd *cobra.Command) {
|
||||
RegisterCommand(Command{
|
||||
rootCmd.AddCommand(caddyCmdToCobra(Command{
|
||||
Name: "manpage",
|
||||
Usage: "--directory <path>",
|
||||
Short: "Generates the manual pages for Caddy commands",
|
||||
@ -469,7 +469,7 @@ argument of --directory. If the directory does not exist, it will be created.
|
||||
return caddy.ExitCodeSuccess, nil
|
||||
})
|
||||
},
|
||||
})
|
||||
}))
|
||||
|
||||
// source: https://github.com/spf13/cobra/blob/main/shell_completions.md
|
||||
rootCmd.AddCommand(&cobra.Command{
|
||||
|
Reference in New Issue
Block a user