hex-patch 1.12.5

HexPatch is a binary patcher and editor with terminal user interface (TUI), it's capable of disassembling instructions and assembling patches. It supports a variety of architectures and file formats. Also, it can edit remote files via SSH.
Documentation
use std::path::PathBuf;

#[derive(Debug, clap::Parser)]
#[command(name = "hex-patch", about, version, author)]
pub struct Args {
    #[arg(
        short,
        long,
        help = "The connection string to the remote server, in the format <user>@<host>[:<port>]"
    )]
    pub ssh: Option<String>,
    #[arg(
        short = 'w',
        long,
        help = "The password to use for SSH connection, if not specified, keypair authentication will be used.",
        requires = "ssh"
    )]
    pub password: Option<String>,
    #[arg(short, long, help = "The configuration file to use")]
    pub config: Option<PathBuf>,
    #[arg(short, long, help = "The plugin directory to use")]
    pub plugins: Option<PathBuf>,
    #[arg(
        index = 1,
        help = "The starting path of the editor",
        default_value = "./"
    )]
    pub path: String,
}