aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/utils
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-05-12 22:37:17 +0200
committera-kenji <aks.kenji@protonmail.com>2021-05-14 11:45:19 +0200
commitd667e5ed81fbaef003fe9f01a4bcdbffe5dd0928 (patch)
treea7389c2f167a743ef568db6cae4139ebf5b02e38 /src/common/utils
parentMerge pull request #465 from a-kenji/set-data-dir (diff)
downloadsl0ppij-d667e5ed81fbaef003fe9f01a4bcdbffe5dd0928.tar.gz
sl0ppij-d667e5ed81fbaef003fe9f01a4bcdbffe5dd0928.tar.xz
sl0ppij-d667e5ed81fbaef003fe9f01a4bcdbffe5dd0928.zip
Add `check` flag to the setup subcommand
* The check option communicates default and config options to the user as well as optional compile time features * Move generate-completion from a subcommand to a flag in the setup subcommand
Diffstat (limited to 'src/common/utils')
-rw-r--r--src/common/utils/consts.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/utils/consts.rs b/src/common/utils/consts.rs
index c77f1c9e..479405c3 100644
--- a/src/common/utils/consts.rs
+++ b/src/common/utils/consts.rs
@@ -47,3 +47,8 @@ lazy_static! {
pub static ref ZELLIJ_TMP_LOG_DIR: PathBuf = ZELLIJ_TMP_DIR.join("zellij-log");
pub static ref ZELLIJ_TMP_LOG_FILE: PathBuf = ZELLIJ_TMP_LOG_DIR.join("log.txt");
}
+
+pub const FEATURES: &[&str] = &[
+ #[cfg(feature = "enable_automatic_asset_installation")]
+ "enable_automatic_asset_installation",
+];