chore: rename app
This commit is contained in:
+1
-1
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user