From ba6ff53bebd1ea6c51f12ba5dd218dcce8348df1 Mon Sep 17 00:00:00 2001 From: Anastasis Grammenos Date: Sun, 23 Sep 2018 00:16:02 +0300 Subject: update readme --- README.html | 131 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 67 insertions(+), 64 deletions(-) (limited to 'README.html') diff --git a/README.html b/README.html index 8ea6981..dc571b9 100644 --- a/README.html +++ b/README.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + @@ -232,35 +232,35 @@ for the JavaScript code in this tag.

Table of Contents

-
-

1 ck

+
+

1 ck

The Config Keeper @@ -278,12 +278,12 @@ for the JavaScript code in this tag.

-
-

2 build it

+
+

2 build it

-
-

2.1 requirements

+
+

2.1 requirements

  • clang (llvm) or gcc (gnu)
  • @@ -293,8 +293,8 @@ for the JavaScript code in this tag.
-
-

2.2 compiler

+
+

2.2 compiler

By default I use clang, if you want to use gcc just @@ -303,8 +303,8 @@ edit the CMakeLists.txt file and change clang to

-
-

2.3 make

+
+

2.3 make

# clone the repo
@@ -323,12 +323,12 @@ edit the CMakeLists.txt file and change clang to 
 
-
-

3 for devs

+
+

3 for devs

-
-

3.1 make

+
+

3.1 make

Just build with address sanitizer enabled like so: @@ -350,8 +350,8 @@ llvm has better asan than gcc, so I use that.

-
-

3.2 tests

+
+

3.2 tests

The testing "suite" is a bash script that runs regression @@ -361,8 +361,8 @@ under unit/ directory and test the code.

-
-

3.2.1 run tests

+
+

3.2.1 run tests

Simply go to the build dir and type. @@ -374,8 +374,8 @@ Simply go to the build dir and type.

-
-

3.2.2 test suite

+
+

3.2.2 test suite

$ ./check_ck -h
@@ -394,8 +394,8 @@ flags:
 
-
-

4 manual

+
+

4 manual

ck's goal is to assist with the configuration file management. @@ -446,8 +446,8 @@ of flags one has to pass to ck.

-
-

4.1 ck configuration

+
+

4.1 ck configuration

ck uses sqlite to index the configuration files. The init @@ -490,12 +490,12 @@ $ ck -c /someplace/else ...

-
-

4.2 Actions

+
+

4.2 Actions

-
-

4.2.1 init

+
+

4.2.1 init

or i or -i @@ -526,14 +526,15 @@ $ ck init /path_to/where_you_want/your_configs/to_be -

4.2.2 add

+
+

4.2.2 add

or a or -a

+Adds a configuration to the ck database. Add takes 2 to 4 arguments.

@@ -547,18 +548,14 @@ Add takes 2 to 4 arguments. -

-Use add to add a new config for ck to keep track of. -

-

Keep in mind:

    -
  • The config has to exist
  • +
  • The config has to exist.
  • If you are adding a config to a program already existing in ckdb make -sure to use the same name
  • -
  • Each program can have only one primary config
  • +sure to use the same name. +
  • Each program can have only one primary config.

@@ -572,8 +569,8 @@ $ ck add program_name config_path [-s] [-p]

-
-

4.2.3 list

+
+

4.2.3 list

or ls or l or -l @@ -614,8 +611,8 @@ $ ck ls programs -t lisp

-
-

4.2.4 search

+
+

4.2.4 search

or s or -s @@ -651,12 +648,18 @@ $ ck search alias

-
-

4.2.5 edit

+
+

4.2.5 edit

or e or -e -~--WIP--~ +

+ +

+=--WIP--= +

+ +

Currently edit can only edit the primary config of a program.

@@ -673,7 +676,7 @@ To do it use:
-

Created: 2018-09-23 Sun 00:11

+

Created: 2018-09-23 Sun 00:15

Validate

-- cgit v1.2.3