|
@@ -8,16 +8,25 @@
|
8
|
8
|
<div class="container container--narrow">
|
9
|
9
|
<h1 class='header'>bngl.ws</h1>
|
10
|
10
|
<p>
|
11
|
|
- bngl.ws is a pastebin service that you can access from the command
|
12
|
|
- line. If you have
|
|
11
|
+ bngl.ws is a pastebin service that you can access from the command line.
|
|
12
|
+ </p>
|
|
13
|
+ <h3 class="subheader">Installation</h3>
|
|
14
|
+ <p>
|
|
15
|
+ If you have
|
13
|
16
|
<a href="https://doc.rust-lang.org/cargo/getting-started/installation.html" target="_blank">
|
14
|
17
|
cargo</a> installed, you can install the CLI client by cloning the
|
15
|
18
|
<a href="https://git.sr.ht/~simulacrumparty/bnglws-client" target="_blank">client repo</a>
|
16
|
19
|
and running
|
17
|
20
|
<pre class="shell">cargo install --path .</pre>
|
18
|
|
- Then, you can create snippets by running something like
|
19
|
|
- <pre class="shell">echo 'Hello world' | bngl new "First snippet"</pre>
|
20
|
|
- </p>
|
|
21
|
+ If you don't have Cargo installed, there are precompiled binaries
|
|
22
|
+ available for
|
|
23
|
+ <a href="/assets/releases/x86_64-unknown-linux-gnu.tar.gz">Linux</a>
|
|
24
|
+ and <a href="/assets/releases/x86_64-apple-darwin.tar.gz">Mac</a>.
|
|
25
|
+ </p>
|
|
26
|
+ <h3 class="subheader">Usage</h3>
|
|
27
|
+ <p>
|
|
28
|
+ <pre class="shell">echo 'Hello world' | bngl 'First Snippet'</pre>
|
|
29
|
+ </p>
|
21
|
30
|
</div>
|
22
|
31
|
</body>
|
23
|
32
|
</html>
|