You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>Arranges entries of each day such that a month of entries is stored in a file.
46
46
File structure(tree):
@@ -132,7 +132,7 @@ <h1> Features </h1>
132
132
on your terminal's width. </li>
133
133
</ul>
134
134
135
-
<h1> Usage </h1>
135
+
<h1id="usage"> Usage </h1>
136
136
<p> This is a quite detailed explanation of what I made this tool for and how to use it to get the most out of it </p>
137
137
<p> Once <ahref="https://github.com/kajuburfi/jrnl/tree/master?tab=readme-ov-file#installation">installed</a>, run <code>jrnl -V</code>. You should get the version printed out. </p>
138
138
@@ -246,6 +246,47 @@ <h2><code>--path</code> or <code>-p</code></h2>
246
246
Here, if you provide the <i>"path"</i>, it will use that. If you don't, it will search for <code>jrnl_folder</code> in
247
247
the current directory.
248
248
249
+
<h2><code>--print-config</code></h2>
250
+
This prints the current configuration in a nice table format.
251
+
Sample output, for the default config:(Colors can't be shown)
<li><ahref="https://github.com/chronotope/chrono"><code>chrono</code></a>: For date and time purposes.</li>
278
+
<li><ahref="https://github.com/clap-rs/clap"><code>clap</code></a>: For CLI arguments.</li>
279
+
<li><ahref="https://github.com/colored-rs/colored"><code>colored</code></a>: For colored messages.</li>
280
+
<li><ahref="https://github.com/mikaelmello/inquire"><code>inquire</code></a>: To interactively get the date(of entry to be fetched) from the user.</li>
281
+
<li><ahref="https://docs.rs/pager/latest/pager/"><code>pager</code></a>: To page long outputs.</li>
282
+
<li><ahref="https://github.com/Nukesor/comfy-table"><code>comfy-table</code></a>: To print tables.</li>
283
+
<li><ahref="https://docs.rs/toml/latest/toml/"><code>toml</code></a>: To parse the configuration file.</li>
284
+
<li><ahref="https://serde.rs/"><code>serde</code></a>: For use in <code>toml</code> and <code>clap</code>.</li>
285
+
<li><ahref="https://docs.rs/term_size/latest/term_size/"><code>term_size</code></a>: To get the terminal width, to be able to wrap tables and calendars accordingly.</li>
286
+
<li><ahref="https://docs.rs/stringmetrics/latest/stringmetrics/"><code>stringmetrics</code></a>: For <i>approximate</i> word searching.</li>
287
+
<li><ahref="https://docs.rs/shellexpand/latest/shellexpand/"><code>shellexpand</code></a>: To expand the <code>~</code>(tilde) in paths.</li>
288
+
</ol>
289
+
249
290
<h1>Any other doubts/questions?</h1>
250
291
Feel free to open an <ahref="https://github.com/kajuburfi/jrnl/issues">issue</a>.
0 commit comments