aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
author[object Object] <max@bossi.ng>2025-07-29 16:52:39 +0200
committerGitHub <noreply@github.com>2025-07-29 16:52:39 +0200
commit5b2e7756e808151b5487f7e67b53accc745bee07 (patch)
treeb4b603501db9f659ff237cb1536c1e1c5759b793 /src/cli.rs
parent9c161a33c576b4ccb5908305b19c8e3e252e3a18 (diff)
merge develop into masterHEADmaster
* refactor: move platform-specifics into separate module * feat: Windows Support (wip) This is untested because I do not own Windows machines, and I think there are some problems concerning unlinking. * wip: inplementation of platform-agnostic deploying and removing etc... * feat: host-based deployment condition * feat: command flag to skip hostname checks * simplyfing the whole preparation step quite a bit
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index f43bda4..bb0c621 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -6,7 +6,8 @@ use clap::{Parser, Subcommand};
pub struct Cli {
#[arg(short, long, default_value = "dots.toml")]
pub config: Option<PathBuf>,
-
+ #[arg(short, long)]
+ pub no_hostname_check: bool,
#[command(subcommand)]
pub command: CliCommand
}
@@ -17,4 +18,4 @@ pub enum CliCommand {
Deploy,
#[clap(about = "Unlinks (tries to remove) a dots deployment")]
Unlink
-} \ No newline at end of file
+}