feat: ssh.rs
This commit is contained in:
13
ssh-rs/src/main.rs
Normal file → Executable file
13
ssh-rs/src/main.rs
Normal file → Executable file
@@ -1,3 +1,13 @@
|
||||
#!/usr/bin/env runrs
|
||||
|
||||
//! ```cargo
|
||||
//! [dependencies]
|
||||
//! rust_util = "0.6.50"
|
||||
//! clap = { version = "4.5.49", features = ["derive"] }
|
||||
//! serde = { version = "1.0.228", features = ["derive"] }
|
||||
//! serde_json = "1.0.145"
|
||||
//! ```
|
||||
|
||||
use clap::Parser;
|
||||
use rust_util::{
|
||||
XResult, debugging, failure_and_exit, iff, information, opt_result, simple_error, success,
|
||||
@@ -244,3 +254,6 @@ fn load_ssh_rs_config() -> XResult<SshConfig> {
|
||||
fn get_ssh_rs_config_file() -> String {
|
||||
util_env::env_var(ENV_SSH_RS_CONFIG_FILE).unwrap_or_else(|| SSH_RS_CONFIG_FILE.to_string())
|
||||
}
|
||||
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260102T200840+08:00.MEUCIQCIoEsCJwGL/nO9MUwA
|
||||
// q3eig5RAt+p0uE4YJPn4wIJtuwIgA+n+sXBgtYjBNZ0lDfB1+fVC7N/3K/LjeWHkxv3/J8k=
|
||||
|
||||
Reference in New Issue
Block a user