chore: rename app

This commit is contained in:
2026-08-29 14:18:47 +05:00
parent ec98d30b31
commit 1a2bb73b62
6 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ use clap::{ArgGroup, Parser};
/// Deploy hobby projects from a local PC to a VPS over SSH.
#[derive(Debug, Parser)]
#[command(name = "xboctploy", version, about)]
#[command(name = "xboct-deploy", version, about)]
#[command(arg_required_else_help = true)]
#[command(group = ArgGroup::new("target").required(true).args(["project", "list", "list_servers", "pick", "this"]))]
pub struct Cli {
+2 -2
View File
@@ -6,7 +6,7 @@ use anyhow::{Context, Result, bail};
use serde::Deserialize;
pub const CONFIG_FILE_NAME: &str = "deploy.toml";
pub const GLOBAL_DIR: &str = "xboctploy";
pub const GLOBAL_DIR: &str = "xboct-deploy";
#[derive(Debug, Deserialize)]
#[serde(deny_unknown_fields)]
@@ -423,7 +423,7 @@ commands = []
fn tmpdir(tag: &str) -> PathBuf {
let dir =
std::env::temp_dir().join(format!("xboctploy-tests-{}-{tag}", std::process::id()));
std::env::temp_dir().join(format!("xboct-deploy-tests-{}-{tag}", std::process::id()));
let _ = fs::remove_dir_all(&dir);
fs::create_dir_all(&dir).unwrap();
dir
+1 -1
View File
@@ -97,7 +97,7 @@ mod tests {
fn tmpdir(tag: &str) -> PathBuf {
let dir =
std::env::temp_dir().join(format!("xboctploy-local-{}-{tag}", std::process::id()));
std::env::temp_dir().join(format!("xboct-deploy-local-{}-{tag}", std::process::id()));
let _ = fs::remove_dir_all(&dir);
fs::create_dir_all(&dir).unwrap();
dir