|
@@ -31,7 +31,7 @@
|
|
|
</section>
|
|
|
|
|
|
<section>
|
|
|
- <a name=plugin><h3>INSTALL</h3></a>
|
|
|
+ <a name=install><h3>INSTALL</h3></a>
|
|
|
<div>Place MAD binary into <b>$PATH</b> or <b>/usr/local/bin</b>. E.g. using curl:
|
|
|
<figure>
|
|
|
<code>
|
|
@@ -51,7 +51,7 @@
|
|
|
<main>
|
|
|
<section>
|
|
|
|
|
|
- <a name=mqtt><h3>HELP</h3></a>
|
|
|
+ <a name=docs><h3>HELP</h3></a>
|
|
|
<p> MAD accepts a list of words. This list of words contains special words,
|
|
|
delimiters or commands.
|
|
|
Words between commands are arguments for the nearest command from left.
|
|
@@ -74,7 +74,7 @@
|
|
|
</div>
|
|
|
</section>
|
|
|
<section>
|
|
|
- <a name=docs><h3>APP</h3></a>
|
|
|
+ <a name=app><h3>APP</h3></a>
|
|
|
<p>Create predefined sample application.
|
|
|
MAD has built-in two sample applications: <b>web</b> and <b>mqtt</b>. </p>
|
|
|
<figure><code>
|
|
@@ -100,7 +100,7 @@
|
|
|
</div>
|
|
|
</section>
|
|
|
<section>
|
|
|
- <a name=docs><h3>DEPS</h3></a>
|
|
|
+ <a name=deps><h3>DEPS</h3></a>
|
|
|
<div>
|
|
|
<figure><code>
|
|
|
$ cd sample
|
|
@@ -134,13 +134,13 @@
|
|
|
OK
|
|
|
</code></figure>
|
|
|
</div>
|
|
|
- <a name=docs><h3>GET</h3></a>
|
|
|
+ <a name=get><h3>GET</h3></a>
|
|
|
<figure><code>
|
|
|
$ mad get kvx
|
|
|
==> dependency: "https://github.com/synrc/kvx" tag: []
|
|
|
OK
|
|
|
</code></figure>
|
|
|
- <a name=docs><h3>UP</h3></a>
|
|
|
+ <a name=up><h3>UP</h3></a>
|
|
|
<figure><code>
|
|
|
$ mad up
|
|
|
OK
|
|
@@ -152,27 +152,27 @@
|
|
|
</div>
|
|
|
</section>
|
|
|
<section>
|
|
|
- <a name=docs><h3>CLEAN</h3></a>
|
|
|
+ <a name=clean><h3>CLEAN</h3></a>
|
|
|
<div>
|
|
|
<figure><code>
|
|
|
$ mad clean
|
|
|
OK
|
|
|
</code></figure>
|
|
|
</div>
|
|
|
- <a name=docs><h3>START</h3></a>
|
|
|
+ <a name=start><h3>START</h3></a>
|
|
|
<figure><code>
|
|
|
$ mad start
|
|
|
Scripting: "/Users/maxim/depot/synrc/mad/mad"
|
|
|
OK
|
|
|
</code></figure>
|
|
|
- <a name=docs><h3>ATTACH</h3></a>
|
|
|
+ <a name=attach><h3>ATTACH</h3></a>
|
|
|
<figure><code>
|
|
|
$ $(mad attach)
|
|
|
Attaching to . (^D to exit)
|
|
|
|
|
|
1>
|
|
|
</code></figure>
|
|
|
- <a name=docs><h3>STOP</h3></a>
|
|
|
+ <a name=stop><h3>STOP</h3></a>
|
|
|
<figure><code>
|
|
|
$ $(mad stop)
|
|
|
Attaching to . (^D to exit)
|
|
@@ -186,7 +186,7 @@
|
|
|
</div>
|
|
|
</section>
|
|
|
<section>
|
|
|
- <a name=docs><h3>COMPILE</h3></a>
|
|
|
+ <a name=compile><h3>COMPILE</h3></a>
|
|
|
<figure><code>
|
|
|
$ mad compile
|
|
|
Writing /apps/sample/ebin/sample.app
|
|
@@ -207,17 +207,17 @@
|
|
|
</div>
|
|
|
</section>
|
|
|
<section>
|
|
|
- <a name=docs><h3>PLAN</h3></a>
|
|
|
+ <a name=plan><h3>PLAN</h3></a>
|
|
|
<figure><code>
|
|
|
$ mad plan
|
|
|
OK
|
|
|
</code></figure>
|
|
|
- <a name=docs><h3>STRIP</h3></a>
|
|
|
+ <a name=strip><h3>STRIP</h3></a>
|
|
|
<figure><code>
|
|
|
$ mad strip
|
|
|
OK
|
|
|
</code></figure>
|
|
|
- <a name=docs><h3>BUNDLE</h3></a>
|
|
|
+ <a name=bundle><h3>BUNDLE</h3></a>
|
|
|
<figure><code>
|
|
|
$ mad bundle script sample
|
|
|
OK
|
|
@@ -235,7 +235,7 @@
|
|
|
</div>
|
|
|
</section>
|
|
|
<section>
|
|
|
- <a name=docs><h3>REPL</h3></a>
|
|
|
+ <a name=repl><h3>REPL</h3></a>
|
|
|
<figure><code>
|
|
|
$ mad repl
|
|
|
$ open http://127.0.0.1:8001/app/index.htm
|
|
@@ -247,7 +247,7 @@
|
|
|
</div>
|
|
|
</section>
|
|
|
<section>
|
|
|
- <a name=docs><h3>ARTICLES</h3></a>
|
|
|
+ <a name=articles><h3>ARTICLES</h3></a>
|
|
|
<div>
|
|
|
<ul>
|
|
|
<li><a href="https://n2o.space/articles/n2o.htm">N2O: PROTOCOL</a></li>
|