aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-05-04 01:13:16 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-04 20:48:17 +0530
commitd33106431dd22759b133a838337427a388f6008f (patch)
treea270cd5ea1d0cfb668706977057c5501e6b4043b /src/cli.rs
parentIntroduce IpcReceiverWIthContext and move ipc stuff to common/ipc.rs (diff)
downloadsl0ppij-d33106431dd22759b133a838337427a388f6008f.tar.gz
sl0ppij-d33106431dd22759b133a838337427a388f6008f.tar.xz
sl0ppij-d33106431dd22759b133a838337427a388f6008f.zip
Fix after rebase
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 9f2bfd36..91b0ed39 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -1,8 +1,9 @@
use super::common::utils::consts::{ZELLIJ_CONFIG_DIR_ENV, ZELLIJ_CONFIG_FILE_ENV};
+use serde::{Deserialize, Serialize};
use std::path::PathBuf;
use structopt::StructOpt;
-#[derive(StructOpt, Default, Debug, Clone)]
+#[derive(StructOpt, Default, Debug, Clone, Serialize, Deserialize)]
#[structopt(name = "zellij")]
pub struct CliArgs {
/// Maximum panes on screen, caution: opening more panes will close old ones
@@ -32,7 +33,7 @@ pub struct CliArgs {
pub debug: bool,
}
-#[derive(Debug, StructOpt, Clone)]
+#[derive(Debug, StructOpt, Clone, Serialize, Deserialize)]
pub enum ConfigCli {
/// Change the behaviour of zellij
#[structopt(name = "option")]