mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +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:
35
core/man/start-cli/start-cli-net-tunnel-add.1
Normal file
35
core/man/start-cli/start-cli-net-tunnel-add.1
Normal file
@@ -0,0 +1,35 @@
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.TH start-cli-net-tunnel-add 1 "add "
|
||||
.SH NAME
|
||||
start\-cli\-net\-tunnel\-add \- Add a new tunnel
|
||||
.SH SYNOPSIS
|
||||
\fBstart\-cli net tunnel add\fR [\fB\-\-set\-as\-default\-outbound\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fINAME\fR> <\fICONFIG\fR> [\fIGATEWAY_TYPE\fR]
|
||||
.SH DESCRIPTION
|
||||
Add a new tunnel
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
\fB\-\-set\-as\-default\-outbound\fR
|
||||
help.arg.set\-as\-default\-outbound
|
||||
.TP
|
||||
\fB\-h\fR, \fB\-\-help\fR
|
||||
Print help
|
||||
.TP
|
||||
<\fINAME\fR>
|
||||
Tunnel name
|
||||
.TP
|
||||
<\fICONFIG\fR>
|
||||
WireGuard configuration
|
||||
.TP
|
||||
[\fIGATEWAY_TYPE\fR]
|
||||
help.arg.gateway\-type
|
||||
.br
|
||||
|
||||
.br
|
||||
\fIPossible values:\fR
|
||||
.RS 14
|
||||
.IP \(bu 2
|
||||
inbound\-outbound
|
||||
.IP \(bu 2
|
||||
outbound\-only
|
||||
.RE
|
||||
Reference in New Issue
Block a user