Files
iris-context/commands/ops/nginx.go
T
VERSE ebde9ba68f refactor(commands): separate commands and its core into two folders (#32)
- I think it would be better if one for commands only, one for the spec
handling core logic so people won't be confused by the core logic inside
the commands folder (cleaner I guess)
- Regen docs
2026-07-05 11:27:30 +07:00

24 lines
878 B
Go

package ops
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "nginx",
Description: "Nginx (pronounced",
Options: []spec.Option{
{Name: "-c", Description: "Use an alternative configuration file"},
{Name: "-e", Description: "Set global configuration directives"},
{Name: "-p", Description: "Set the prefix path. The default value is %%PREFIX%%"},
{Name: "-q", Description: "Suppress non-error messages during configuration testing"},
{Name: "-T", Description: "Same as -t, but additionally dump configuration files to standard output"},
{Name: "-t", Description: "Print the nginx version, compiler version, and configure script parameters"},
{Name: "-v", Description: "Print the nginx version"},
{Name: "-?", Description: "Print help"},
{Name: "-s", Description: "Sends SIGTERM"},
},
})
}