aboutsummaryrefslogtreecommitdiffstats
path: root/ck.1
diff options
context:
space:
mode:
Diffstat (limited to 'ck.1')
-rw-r--r--ck.120
1 files changed, 16 insertions, 4 deletions
diff --git a/ck.1 b/ck.1
index 205270e..9944b3f 100644
--- a/ck.1
+++ b/ck.1
@@ -14,7 +14,8 @@ ck \- manage configuration across the system
\" Init
.SY ck
.B init
-.I VERSION_CONTROL_DIR SECRET_DIR
+.I VERSION_CONTROL_DIR
+.RI [ SECRET_DIR ]
.YS
\" Add
.SY ck
@@ -100,7 +101,7 @@ based command line interface.
needs a database and an rc file to run. It also needs two
directories (stored in the rc file), the
.I VERSION_CONRTOL_DIR
-and the
+and (optionally) the
.IR SECRET_DIR .
This is where the configurations will end up after they are added to
.BR ck .
@@ -217,14 +218,24 @@ database
.RI ( ckdb )
and initialize it. Create the ck config file
.RI ( ckrc )
-and add the directory paths to it.
+and add the directory paths to it. If
+.I SECRET_DIR
+is not passed, the
+.B \-s
+flag will be disabled in the
+.B add
+action, and this
+.B ck
+instance won't be able to
+store secret configs.
.TP 2
.B USAGE
.ns
.RS 2
.SY ck
.B init
-.I VERSION_CONTROL_DIR SECRET_DIR
+.I VERSION_CONTROL_DIR
+.RI [ SECRET_DIR ]
.YS
.RE
.TP 2
@@ -254,6 +265,7 @@ flag in
.EX
$ ck init /home/ckuser/configs/vc home/ckuser/configs/sec
$ ck i configs/vc configs/sec
+$ ck i ~/scripts # no secret dir provided
.EE
.SS "ADD CONFIG"
Add a