mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
fix: clap CLI definitions and manpage generation
- add #[group(skip)] to all Parser-derived structs - fix conflicts_with and arg definitions for correct CLI behavior - refactor bin entry points to support manpage generation
This commit is contained in:
44
core/man/start-cli/start-cli-server-test-smtp.1
Normal file
44
core/man/start-cli/start-cli-server-test-smtp.1
Normal file
@@ -0,0 +1,44 @@
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.TH start-cli-server-test-smtp 1 "test-smtp "
|
||||
.SH NAME
|
||||
start\-cli\-server\-test\-smtp \- Test SMTP configuration
|
||||
.SH SYNOPSIS
|
||||
\fBstart\-cli server test\-smtp\fR <\fB\-\-host\fR> <\fB\-\-port\fR> <\fB\-\-from\fR> <\fB\-\-to\fR> <\fB\-\-username\fR> <\fB\-\-password\fR> <\fB\-\-security\fR> [\fB\-h\fR|\fB\-\-help\fR]
|
||||
.SH DESCRIPTION
|
||||
Test SMTP configuration
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
\fB\-\-host\fR \fI<HOST>\fR
|
||||
SMTP server hostname
|
||||
.TP
|
||||
\fB\-\-port\fR \fI<PORT>\fR
|
||||
SMTP server port
|
||||
.TP
|
||||
\fB\-\-from\fR \fI<FROM>\fR
|
||||
Email sender address
|
||||
.TP
|
||||
\fB\-\-to\fR \fI<TO>\fR
|
||||
Email recipient address
|
||||
.TP
|
||||
\fB\-\-username\fR \fI<USERNAME>\fR
|
||||
SMTP authentication username
|
||||
.TP
|
||||
\fB\-\-password\fR \fI<PASSWORD>\fR
|
||||
SMTP authentication password
|
||||
.TP
|
||||
\fB\-\-security\fR \fI<SECURITY>\fR
|
||||
Connection security mode (starttls or tls)
|
||||
.br
|
||||
|
||||
.br
|
||||
\fIPossible values:\fR
|
||||
.RS 14
|
||||
.IP \(bu 2
|
||||
starttls
|
||||
.IP \(bu 2
|
||||
tls
|
||||
.RE
|
||||
.TP
|
||||
\fB\-h\fR, \fB\-\-help\fR
|
||||
Print help
|
||||
Reference in New Issue
Block a user