aboutsummaryrefslogtreecommitdiffstats
path: root/README.html
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-10-19 13:06:27 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-10-19 13:06:27 +0300
commit18e6099230c3bfe23d4faeeae289554f127deb87 (patch)
treee395857e93a6f40a801aa97c8fd4e9349c72e824 /README.html
parent147efc35461763c38e8875afac7bc44d2559204b (diff)
downloadck-18e6099230c3bfe23d4faeeae289554f127deb87.tar.gz
ck-18e6099230c3bfe23d4faeeae289554f127deb87.tar.bz2
ck-18e6099230c3bfe23d4faeeae289554f127deb87.zip
Add install script and config/verbose help
Diffstat (limited to 'README.html')
-rw-r--r--README.html154
1 files changed, 75 insertions, 79 deletions
diff --git a/README.html b/README.html
index 43d1e52..9bbb656 100644
--- a/README.html
+++ b/README.html
@@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
-<!-- 2018-10-14 Sun 15:34 -->
+<!-- 2018-10-19 Fri 13:06 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title>
@@ -232,35 +232,35 @@ for the JavaScript code in this tag.
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
-<li><a href="#orgec60647">ck</a></li>
-<li><a href="#orgbcde368">build it</a>
+<li><a href="#orgfda6b85">ck</a></li>
+<li><a href="#org81f18da">build it</a>
<ul>
-<li><a href="#orgbe60211">requirements</a></li>
-<li><a href="#org6e5c495">compiler</a></li>
-<li><a href="#org8412114">make</a></li>
+<li><a href="#orgca5f041">requirements</a></li>
+<li><a href="#org42b1074">compiler</a></li>
+<li><a href="#org3c16cc6">make</a></li>
</ul>
</li>
-<li><a href="#org45c9b1b">for devs</a>
+<li><a href="#orgb5f4d41">for devs</a>
<ul>
-<li><a href="#org216d8fb">CMake options</a></li>
-<li><a href="#org38a8c1e">tests</a>
+<li><a href="#org359975d">CMake options</a></li>
+<li><a href="#org2d42457">tests</a>
<ul>
-<li><a href="#org9ddf7d4">run tests</a></li>
-<li><a href="#orga13f82c">test suite</a></li>
+<li><a href="#org14b5d19">run tests</a></li>
+<li><a href="#org4539733">test suite</a></li>
</ul>
</li>
</ul>
</li>
-<li><a href="#org20e6b79">manual</a>
+<li><a href="#org9c9d0fe">manual</a>
<ul>
-<li><a href="#orgc277695">ck configuration</a></li>
-<li><a href="#org85d9032">Actions</a>
+<li><a href="#orgbcee4b6">ck configuration</a></li>
+<li><a href="#org67f2600">Actions</a>
<ul>
-<li><a href="#org3eca970">init</a></li>
-<li><a href="#org050bee7">add</a></li>
-<li><a href="#org5953bcd">list</a></li>
-<li><a href="#orgdc17ce6">search</a></li>
-<li><a href="#org854b5f8">edit</a></li>
+<li><a href="#org85fb98c">init</a></li>
+<li><a href="#org139047f">add</a></li>
+<li><a href="#org2c7f2ea">list</a></li>
+<li><a href="#orge8ba31a">search</a></li>
+<li><a href="#org6d1d447">edit</a></li>
</ul>
</li>
</ul>
@@ -269,22 +269,22 @@ for the JavaScript code in this tag.
</div>
</div>
<p align="center"><img src="res/logo.png"></p>
-<div id="outline-container-orgec60647" class="outline-2">
-<h2 id="orgec60647">ck</h2>
-<div class="outline-text-2" id="text-orgec60647">
+<div id="outline-container-orgfda6b85" class="outline-2">
+<h2 id="orgfda6b85">ck</h2>
+<div class="outline-text-2" id="text-orgfda6b85">
<p>
<b>The Config Keeper</b>
</p>
</div>
</div>
-<div id="outline-container-orgbcde368" class="outline-2">
-<h2 id="orgbcde368">build it</h2>
-<div class="outline-text-2" id="text-orgbcde368">
+<div id="outline-container-org81f18da" class="outline-2">
+<h2 id="org81f18da">build it</h2>
+<div class="outline-text-2" id="text-org81f18da">
</div>
-<div id="outline-container-orgbe60211" class="outline-3">
-<h3 id="orgbe60211">requirements</h3>
-<div class="outline-text-3" id="text-orgbe60211">
+<div id="outline-container-orgca5f041" class="outline-3">
+<h3 id="orgca5f041">requirements</h3>
+<div class="outline-text-3" id="text-orgca5f041">
<ul class="org-ul">
<li>clang (llvm) or gcc (gnu)</li>
<li>cmake</li>
@@ -293,9 +293,9 @@ for the JavaScript code in this tag.
</div>
</div>
-<div id="outline-container-org6e5c495" class="outline-3">
-<h3 id="org6e5c495">compiler</h3>
-<div class="outline-text-3" id="text-org6e5c495">
+<div id="outline-container-org42b1074" class="outline-3">
+<h3 id="org42b1074">compiler</h3>
+<div class="outline-text-3" id="text-org42b1074">
<div class="org-src-container">
<pre class="src src-sh">&gt; export <span style="color: #baba36;">CC</span>=clang
<span style="color: #656565;"># </span><span style="color: #757575;">or</span>
@@ -305,9 +305,9 @@ for the JavaScript code in this tag.
</div>
</div>
-<div id="outline-container-org8412114" class="outline-3">
-<h3 id="org8412114">make</h3>
-<div class="outline-text-3" id="text-org8412114">
+<div id="outline-container-org3c16cc6" class="outline-3">
+<h3 id="org3c16cc6">make</h3>
+<div class="outline-text-3" id="text-org3c16cc6">
<div class="org-src-container">
<pre class="src src-sh"><span style="color: #656565;"># </span><span style="color: #757575;">clone the repo</span>
&gt; cd ~/code; git clone https://gitlab.com/grm-grm/ck
@@ -325,13 +325,13 @@ for the JavaScript code in this tag.
</div>
</div>
-<div id="outline-container-org45c9b1b" class="outline-2">
-<h2 id="org45c9b1b">for devs</h2>
-<div class="outline-text-2" id="text-org45c9b1b">
+<div id="outline-container-orgb5f4d41" class="outline-2">
+<h2 id="orgb5f4d41">for devs</h2>
+<div class="outline-text-2" id="text-orgb5f4d41">
</div>
-<div id="outline-container-org216d8fb" class="outline-3">
-<h3 id="org216d8fb">CMake options</h3>
-<div class="outline-text-3" id="text-org216d8fb">
+<div id="outline-container-org359975d" class="outline-3">
+<h3 id="org359975d">CMake options</h3>
+<div class="outline-text-3" id="text-org359975d">
<p>
cmake accepts the following options:
</p>
@@ -371,9 +371,9 @@ llvm has better asan than gcc, so I use that.
</div>
</div>
-<div id="outline-container-org38a8c1e" class="outline-3">
-<h3 id="org38a8c1e">tests</h3>
-<div class="outline-text-3" id="text-org38a8c1e">
+<div id="outline-container-org2d42457" class="outline-3">
+<h3 id="org2d42457">tests</h3>
+<div class="outline-text-3" id="text-org2d42457">
<p>
The testing "suite" is a bash script that runs regression
and unit tests. Regression tests are under the <code>tests/</code> directory
@@ -382,9 +382,9 @@ under <code>unit/</code> directory and test the code.
</p>
</div>
-<div id="outline-container-org9ddf7d4" class="outline-4">
-<h4 id="org9ddf7d4">run tests</h4>
-<div class="outline-text-4" id="text-org9ddf7d4">
+<div id="outline-container-org14b5d19" class="outline-4">
+<h4 id="org14b5d19">run tests</h4>
+<div class="outline-text-4" id="text-org14b5d19">
<p>
First make sure you build ck with the <code>-DCK_TESTS=1</code> option. Then
go to the build directory and type:
@@ -396,9 +396,9 @@ go to the build directory and type:
</div>
</div>
-<div id="outline-container-orga13f82c" class="outline-4">
-<h4 id="orga13f82c">test suite</h4>
-<div class="outline-text-4" id="text-orga13f82c">
+<div id="outline-container-org4539733" class="outline-4">
+<h4 id="org4539733">test suite</h4>
+<div class="outline-text-4" id="text-org4539733">
<div class="org-src-container">
<pre class="src src-sh">$ ./test-ck -h
ck test suite
@@ -416,9 +416,9 @@ flags:
</div>
</div>
</div>
-<div id="outline-container-org20e6b79" class="outline-2">
-<h2 id="org20e6b79">manual</h2>
-<div class="outline-text-2" id="text-org20e6b79">
+<div id="outline-container-org9c9d0fe" class="outline-2">
+<h2 id="org9c9d0fe">manual</h2>
+<div class="outline-text-2" id="text-org9c9d0fe">
<p>
ck's goal is to assist with the configuration file management.
To that end it tries to provides a cli interface that is pretty straight-forward
@@ -469,9 +469,9 @@ of flags one has to pass to ck.
</p>
</div>
-<div id="outline-container-orgc277695" class="outline-3">
-<h3 id="orgc277695">ck configuration</h3>
-<div class="outline-text-3" id="text-orgc277695">
+<div id="outline-container-orgbcee4b6" class="outline-3">
+<h3 id="orgbcee4b6">ck configuration</h3>
+<div class="outline-text-3" id="text-orgbcee4b6">
<p>
ck uses sqlite to index the configuration files. The init
action creates a <b>.ck</b> directory (under $HOME)
@@ -486,7 +486,7 @@ each.
</p>
<p>
-Using the special keyword <b>config</b> (or <b>conf</b> or <b>c</b> or <b>-c</b>) you can set the path
+Using the special keyword <b>config</b> (or <b>-c</b>) you can set the path
in which ck will search for the <b>.ck</b> directory.
</p>
@@ -503,23 +503,19 @@ Usage:
<span style="color: #656565;"># </span><span style="color: #757575;">/someplace/else must exist or</span>
<span style="color: #656565;"># </span><span style="color: #757575;">the action following it must be init</span>
-$ ck conf /someplace/else ...
-
-<span style="color: #656565;"># </span><span style="color: #757575;">same thing</span>
-$ ck c /someplace/else ...
$ ck -c /someplace/else ...
</pre>
</div>
</div>
</div>
-<div id="outline-container-org85d9032" class="outline-3">
-<h3 id="org85d9032">Actions</h3>
-<div class="outline-text-3" id="text-org85d9032">
+<div id="outline-container-org67f2600" class="outline-3">
+<h3 id="org67f2600">Actions</h3>
+<div class="outline-text-3" id="text-org67f2600">
</div>
-<div id="outline-container-org3eca970" class="outline-4">
-<h4 id="org3eca970">init</h4>
-<div class="outline-text-4" id="text-org3eca970">
+<div id="outline-container-org85fb98c" class="outline-4">
+<h4 id="org85fb98c">init</h4>
+<div class="outline-text-4" id="text-org85fb98c">
<p>
or i or -i
</p>
@@ -549,9 +545,9 @@ $ ck init /path_to/where_you_want/your_configs/to_be <span style="color: #bdbc61
</div>
</div>
-<div id="outline-container-org050bee7" class="outline-4">
-<h4 id="org050bee7">add</h4>
-<div class="outline-text-4" id="text-org050bee7">
+<div id="outline-container-org139047f" class="outline-4">
+<h4 id="org139047f">add</h4>
+<div class="outline-text-4" id="text-org139047f">
<p>
or a or -a
</p>
@@ -592,9 +588,9 @@ $ ck add program_name config_path [-s] [-p]
</div>
</div>
-<div id="outline-container-org5953bcd" class="outline-4">
-<h4 id="org5953bcd">list</h4>
-<div class="outline-text-4" id="text-org5953bcd">
+<div id="outline-container-org2c7f2ea" class="outline-4">
+<h4 id="org2c7f2ea">list</h4>
+<div class="outline-text-4" id="text-org2c7f2ea">
<p>
or ls or l or -l
</p>
@@ -657,9 +653,9 @@ $ ck -l ckconf
</div>
</div>
-<div id="outline-container-orgdc17ce6" class="outline-4">
-<h4 id="orgdc17ce6">search</h4>
-<div class="outline-text-4" id="text-orgdc17ce6">
+<div id="outline-container-orge8ba31a" class="outline-4">
+<h4 id="orge8ba31a">search</h4>
+<div class="outline-text-4" id="text-orge8ba31a">
<p>
or grep or s or -s
</p>
@@ -708,9 +704,9 @@ $ for i ($(ck ls paths)) grep -E <span style="color: #bdbc61;">'A|B'</span> $<sp
</div>
</div>
-<div id="outline-container-org854b5f8" class="outline-4">
-<h4 id="org854b5f8">edit</h4>
-<div class="outline-text-4" id="text-org854b5f8">
+<div id="outline-container-org6d1d447" class="outline-4">
+<h4 id="org6d1d447">edit</h4>
+<div class="outline-text-4" id="text-org6d1d447">
<p>
or e or -e
</p>
@@ -759,7 +755,7 @@ $ ck edit emacs accounts.el
</div>
</div>
<div id="postamble" class="status">
-<p class="date">Created: 2018-10-14 Sun 15:34</p>
+<p class="date">Created: 2018-10-19 Fri 13:06</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>