aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-09-23 00:11:24 +0300
committerAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-09-23 00:11:24 +0300
commitd0d3ce110fb7a91f9727262e787938abd91069ea (patch)
treea4fc66c09f3f2e8faa1a29bbf3a1f4e639a2a131
parentbe408978f54f83d393494d9ca263b88d4c596725 (diff)
downloadck-d0d3ce110fb7a91f9727262e787938abd91069ea.tar.gz
ck-d0d3ce110fb7a91f9727262e787938abd91069ea.tar.bz2
ck-d0d3ce110fb7a91f9727262e787938abd91069ea.zip
fix html
-rw-r--r--README.html122
-rw-r--r--README.org1
2 files changed, 62 insertions, 61 deletions
diff --git a/README.html b/README.html
index 72df0fc..8ea6981 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-09-23 Sun 00:02 -->
+<!-- 2018-09-23 Sun 00:11 -->
<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="#org0688d9b">1. ck</a></li>
-<li><a href="#org57f210d">2. build it</a>
+<li><a href="#orga937ace">1. ck</a></li>
+<li><a href="#orge3e7a68">2. build it</a>
<ul>
-<li><a href="#org54a9881">2.1. requirements</a></li>
-<li><a href="#org9696939">2.2. compiler</a></li>
-<li><a href="#orgea98eb4">2.3. make</a></li>
+<li><a href="#org0e96418">2.1. requirements</a></li>
+<li><a href="#orgc3dd6b8">2.2. compiler</a></li>
+<li><a href="#org88635c0">2.3. make</a></li>
</ul>
</li>
-<li><a href="#orgaa6c440">3. for devs</a>
+<li><a href="#org6bfdd90">3. for devs</a>
<ul>
-<li><a href="#org2cde047">3.1. make</a></li>
-<li><a href="#org3df84a7">3.2. tests</a>
+<li><a href="#org4975cbf">3.1. make</a></li>
+<li><a href="#orgb7a1471">3.2. tests</a>
<ul>
-<li><a href="#org5f2c899">3.2.1. run tests</a></li>
-<li><a href="#orgab7d73d">3.2.2. test suite</a></li>
+<li><a href="#orgf2a5d40">3.2.1. run tests</a></li>
+<li><a href="#orgbfb08a1">3.2.2. test suite</a></li>
</ul>
</li>
</ul>
</li>
-<li><a href="#org2eea1a2">4. manual</a>
+<li><a href="#org00cf4c1">4. manual</a>
<ul>
-<li><a href="#org6a7b3d6">4.1. ck configuration</a></li>
-<li><a href="#org975adc8">4.2. Actions</a>
+<li><a href="#org0b02a6c">4.1. ck configuration</a></li>
+<li><a href="#org310a86a">4.2. Actions</a>
<ul>
-<li><a href="#org31574ed">4.2.1. init</a></li>
-<li><a href="#org3d938c1">4.2.2. add</a></li>
-<li><a href="#org52062dd">4.2.3. list</a></li>
-<li><a href="#org3658d37">4.2.4. search</a></li>
-<li><a href="#org840d95e">4.2.5. edit</a></li>
+<li><a href="#org8e54599">4.2.1. init</a></li>
+<li><a href="#org0d2c69f">4.2.2. add</a></li>
+<li><a href="#org8de5cbd">4.2.3. list</a></li>
+<li><a href="#org3144007">4.2.4. search</a></li>
+<li><a href="#orge77921c">4.2.5. edit</a></li>
</ul>
</li>
</ul>
@@ -269,8 +269,8 @@ for the JavaScript code in this tag.
</div>
</div>
<p align="center"><img src="res/logo.png" width="30%" height="30%" /></p>
-<div id="outline-container-org0688d9b" class="outline-2">
-<h2 id="org0688d9b"><span class="section-number-2">1</span> ck</h2>
+<div id="outline-container-orga937ace" class="outline-2">
+<h2 id="orga937ace"><span class="section-number-2">1</span> ck</h2>
<div class="outline-text-2" id="text-1">
<p>
<b>The Config Keeper</b>
@@ -278,12 +278,12 @@ for the JavaScript code in this tag.
</div>
</div>
-<div id="outline-container-org57f210d" class="outline-2">
-<h2 id="org57f210d"><span class="section-number-2">2</span> build it</h2>
+<div id="outline-container-orge3e7a68" class="outline-2">
+<h2 id="orge3e7a68"><span class="section-number-2">2</span> build it</h2>
<div class="outline-text-2" id="text-2">
</div>
-<div id="outline-container-org54a9881" class="outline-3">
-<h3 id="org54a9881"><span class="section-number-3">2.1</span> requirements</h3>
+<div id="outline-container-org0e96418" class="outline-3">
+<h3 id="org0e96418"><span class="section-number-3">2.1</span> requirements</h3>
<div class="outline-text-3" id="text-2-1">
<ul class="org-ul">
<li>clang (llvm) or gcc (gnu)</li>
@@ -293,8 +293,8 @@ for the JavaScript code in this tag.
</div>
</div>
-<div id="outline-container-org9696939" class="outline-3">
-<h3 id="org9696939"><span class="section-number-3">2.2</span> compiler</h3>
+<div id="outline-container-orgc3dd6b8" class="outline-3">
+<h3 id="orgc3dd6b8"><span class="section-number-3">2.2</span> compiler</h3>
<div class="outline-text-3" id="text-2-2">
<p>
By default I use clang, if you want to use gcc just
@@ -303,8 +303,8 @@ edit the <code>CMakeLists.txt</code> file and change <code>clang</code> to <code
</div>
</div>
-<div id="outline-container-orgea98eb4" class="outline-3">
-<h3 id="orgea98eb4"><span class="section-number-3">2.3</span> make</h3>
+<div id="outline-container-org88635c0" class="outline-3">
+<h3 id="org88635c0"><span class="section-number-3">2.3</span> make</h3>
<div class="outline-text-3" id="text-2-3">
<div class="org-src-container">
<pre class="src src-sh"><span style="color: #6A6D70;"># </span><span style="color: #6A6D70;">clone the repo</span>
@@ -323,12 +323,12 @@ edit the <code>CMakeLists.txt</code> file and change <code>clang</code> to <code
</div>
</div>
-<div id="outline-container-orgaa6c440" class="outline-2">
-<h2 id="orgaa6c440"><span class="section-number-2">3</span> for devs</h2>
+<div id="outline-container-org6bfdd90" class="outline-2">
+<h2 id="org6bfdd90"><span class="section-number-2">3</span> for devs</h2>
<div class="outline-text-2" id="text-3">
</div>
-<div id="outline-container-org2cde047" class="outline-3">
-<h3 id="org2cde047"><span class="section-number-3">3.1</span> make</h3>
+<div id="outline-container-org4975cbf" class="outline-3">
+<h3 id="org4975cbf"><span class="section-number-3">3.1</span> make</h3>
<div class="outline-text-3" id="text-3-1">
<p>
Just build with address sanitizer enabled like so:
@@ -350,8 +350,8 @@ llvm has better asan than gcc, so I use that.
</div>
</div>
-<div id="outline-container-org3df84a7" class="outline-3">
-<h3 id="org3df84a7"><span class="section-number-3">3.2</span> tests</h3>
+<div id="outline-container-orgb7a1471" class="outline-3">
+<h3 id="orgb7a1471"><span class="section-number-3">3.2</span> tests</h3>
<div class="outline-text-3" id="text-3-2">
<p>
The testing "suite" is a bash script that runs regression
@@ -361,8 +361,8 @@ under <code>unit/</code> directory and test the code.
</p>
</div>
-<div id="outline-container-org5f2c899" class="outline-4">
-<h4 id="org5f2c899"><span class="section-number-4">3.2.1</span> run tests</h4>
+<div id="outline-container-orgf2a5d40" class="outline-4">
+<h4 id="orgf2a5d40"><span class="section-number-4">3.2.1</span> run tests</h4>
<div class="outline-text-4" id="text-3-2-1">
<p>
Simply go to the build dir and type.
@@ -374,8 +374,8 @@ Simply go to the build dir and type.
</div>
</div>
-<div id="outline-container-orgab7d73d" class="outline-4">
-<h4 id="orgab7d73d"><span class="section-number-4">3.2.2</span> test suite</h4>
+<div id="outline-container-orgbfb08a1" class="outline-4">
+<h4 id="orgbfb08a1"><span class="section-number-4">3.2.2</span> test suite</h4>
<div class="outline-text-4" id="text-3-2-2">
<div class="org-src-container">
<pre class="src src-sh">$ ./check_ck -h
@@ -394,8 +394,8 @@ flags:
</div>
</div>
</div>
-<div id="outline-container-org2eea1a2" class="outline-2">
-<h2 id="org2eea1a2"><span class="section-number-2">4</span> manual</h2>
+<div id="outline-container-org00cf4c1" class="outline-2">
+<h2 id="org00cf4c1"><span class="section-number-2">4</span> manual</h2>
<div class="outline-text-2" id="text-4">
<p>
ck's goal is to assist with the configuration file management.
@@ -446,8 +446,8 @@ of flags one has to pass to ck.
</p>
</div>
-<div id="outline-container-org6a7b3d6" class="outline-3">
-<h3 id="org6a7b3d6"><span class="section-number-3">4.1</span> ck configuration</h3>
+<div id="outline-container-org0b02a6c" class="outline-3">
+<h3 id="org0b02a6c"><span class="section-number-3">4.1</span> ck configuration</h3>
<div class="outline-text-3" id="text-4-1">
<p>
ck uses sqlite to index the configuration files. The init
@@ -490,12 +490,12 @@ $ ck -c /someplace/else ...
</div>
</div>
-<div id="outline-container-org975adc8" class="outline-3">
-<h3 id="org975adc8"><span class="section-number-3">4.2</span> Actions</h3>
+<div id="outline-container-org310a86a" class="outline-3">
+<h3 id="org310a86a"><span class="section-number-3">4.2</span> Actions</h3>
<div class="outline-text-3" id="text-4-2">
</div>
-<div id="outline-container-org31574ed" class="outline-4">
-<h4 id="org31574ed"><span class="section-number-4">4.2.1</span> init</h4>
+<div id="outline-container-org8e54599" class="outline-4">
+<h4 id="org8e54599"><span class="section-number-4">4.2.1</span> init</h4>
<div class="outline-text-4" id="text-4-2-1">
<p>
or i or -i
@@ -506,8 +506,8 @@ init takes exactly 2 arguments.
</p>
<ul class="org-ul">
-<li><b>config<sub>dir</sub></b>: where all the configs will live</li>
-<li><b>secret<sub>dir</sub></b>: where all the secret configs will live</li>
+<li><b>config_dir</b>: where all the configs will live</li>
+<li><b>secret_dir</b>: where all the secret configs will live</li>
</ul>
<p>
@@ -526,8 +526,8 @@ $ ck init /path_to/where_you_want/your_configs/to_be <span style="color: #E6DB74
</div>
</div>
-<div id="outline-container-org3d938c1" class="outline-4">
-<h4 id="org3d938c1"><span class="section-number-4">4.2.2</span> add</h4>
+<div id="outline-container-org0d2c69f" class="outline-4">
+<h4 id="org0d2c69f"><span class="section-number-4">4.2.2</span> add</h4>
<div class="outline-text-4" id="text-4-2-2">
<p>
or a or -a
@@ -538,12 +538,12 @@ Add takes 2 to 4 arguments.
</p>
<ul class="org-ul">
-<li><b>program<sub>name</sub></b>: the name of the program you add a config to</li>
-<li><b>config<sub>path</sub></b>: the path to the config</li>
+<li><b>program_name</b>: the name of the program you add a config to</li>
+<li><b>config_path</b>: the path to the config</li>
<li>Optional: (order doesn't matter)
<ul class="org-ul">
<li><b>-p</b>: the config will be the primary (relevant on edit below)</li>
-<li><b>-s</b>: the config will be stored in the secret<sub>dir</sub></li>
+<li><b>-s</b>: the config will be stored in the secret_dir</li>
</ul></li>
</ul>
@@ -572,8 +572,8 @@ $ ck add program_name config_path [-s] [-p]
</div>
</div>
-<div id="outline-container-org52062dd" class="outline-4">
-<h4 id="org52062dd"><span class="section-number-4">4.2.3</span> list</h4>
+<div id="outline-container-org8de5cbd" class="outline-4">
+<h4 id="org8de5cbd"><span class="section-number-4">4.2.3</span> list</h4>
<div class="outline-text-4" id="text-4-2-3">
<p>
or ls or l or -l
@@ -614,8 +614,8 @@ $ ck ls programs -t lisp
</div>
</div>
-<div id="outline-container-org3658d37" class="outline-4">
-<h4 id="org3658d37"><span class="section-number-4">4.2.4</span> search</h4>
+<div id="outline-container-org3144007" class="outline-4">
+<h4 id="org3144007"><span class="section-number-4">4.2.4</span> search</h4>
<div class="outline-text-4" id="text-4-2-4">
<p>
or s or -s
@@ -651,8 +651,8 @@ $ ck search alias
</div>
</div>
-<div id="outline-container-org840d95e" class="outline-4">
-<h4 id="org840d95e"><span class="section-number-4">4.2.5</span> edit</h4>
+<div id="outline-container-orge77921c" class="outline-4">
+<h4 id="orge77921c"><span class="section-number-4">4.2.5</span> edit</h4>
<div class="outline-text-4" id="text-4-2-5">
<p>
or e or -e
@@ -673,7 +673,7 @@ To do it use:
</div>
</div>
<div id="postamble" class="status">
-<p class="date">Created: 2018-09-23 Sun 00:02</p>
+<p class="date">Created: 2018-09-23 Sun 00:11</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>
diff --git a/README.org b/README.org
index 13becc6..ba0913f 100644
--- a/README.org
+++ b/README.org
@@ -1,3 +1,4 @@
+#+OPTIONS: ^:nil
#+html: <p align="center"><img src="res/logo.png" width="30%" height="30%" /></p>
* ck
*The Config Keeper*