feat(complete): add command name
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
675dd4faf6
commit
9f6a5e03c9
@ -61,6 +61,7 @@ pub struct RenewCommandArgs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Parser)]
|
#[derive(Parser)]
|
||||||
|
#[command(name = "sshcd")]
|
||||||
pub struct ClientCommand {
|
pub struct ClientCommand {
|
||||||
#[clap(subcommand)]
|
#[clap(subcommand)]
|
||||||
cmd: ClientCommands,
|
cmd: ClientCommands,
|
||||||
|
@ -32,6 +32,7 @@ use tracing::{debug, info, trace};
|
|||||||
use self::extract::{CertificateBody, JWTAuthenticated, JWTString, SignatureBody};
|
use self::extract::{CertificateBody, JWTAuthenticated, JWTString, SignatureBody};
|
||||||
|
|
||||||
#[derive(Parser)]
|
#[derive(Parser)]
|
||||||
|
#[command(name = "sshcd-server")]
|
||||||
pub struct ApiArgs {
|
pub struct ApiArgs {
|
||||||
#[clap(short = 'a', long = "address", env = env_key!("SOCKET_ADDRESS"))]
|
#[clap(short = 'a', long = "address", env = env_key!("SOCKET_ADDRESS"))]
|
||||||
address: SocketAddr,
|
address: SocketAddr,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user