created configuration

This commit is contained in:
KZacharski 2023-08-28 09:46:08 +02:00
parent 6d22738bb4
commit 74b2bc672f
1 changed files with 123 additions and 0 deletions

View File

@ -0,0 +1,123 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Configuration - diji docs</title>
<link rel="icon" type="image" href="./assets/favicon.png">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="./assets/prism.css">
<script src="script.js"></script>
<script src="./assets/prism.js"></script>
<meta name="theme-color" content="#000000" />
</head>
<body>
<div class="hhh">
<div class="navbar">
<img onclick="openNav()" class="navicon" src="./assets/ic_fluent_navigation_24_filled.svg" height="25px">
<a href="./index.html"><img src="./assets/dijidocs.png" height="40px" style="display: block;"></a>
</div>
<div class="content">
<div class="anotherfuckingcontainer iafc">
<h1 class="t1">Configuration</h1>
<h3 class="t2">Last edited: 28 August 2023<br><a href="https://github.com/KZacharski/diji/blob/github-files/docs/docs/favicons.html" class="linkeffect ghlink">Open on GitHub</a></h3>
<p>Currently diji has 2 options that can be changed permanently through the config file or temporarily with arguments.</p>
<p>These options are:
<ul>
<li>Quick mode</li>
<li>Debug mode</li>
</ul>
</p>
<p>The config file is called <code class="language-plaintext">config.txt</code> and is located in the <code class="language-plaintext">diji-config</code> folder in the location where you installed diji</p>
<h3>Quick mode</h3>
<p>Quick mode automatically selects the default options in prompts you would normally have to answer/skip when using diji (besides project name)</p>
<p>You can enable it by changing <code class="language-plaintext">false</code> to <code class="language-plaintext">true</code> in the <code class="language-plaintext">quick-mode = false</code> line of the config file or by running diji with a <code class="language-bash">-q</code> argument.</p>
<pre><code class="language-bash">diji -q</code></pre>
<p>Or if you installed it in your projects folder instead of $PATH</p>
<pre><code class="language-bash">./diji -q</code></pre>
<h3>Debug mode</h3>
<p>Debug mode prints out all variables at the end of running the program. It's used in development and doesn't serve a purpose unless you're planning to contribute to diji/make your own version.</p>
<p>You can enable it by changing <code class="language-plaintext">false</code> to <code class="language-plaintext">true</code> in the <code class="language-plaintext">debug = false</code> line of the config file or by running diji with a <code class="language-bash">-d</code> argument.</p>
<pre><code class="language-bash">diji -d</code></pre>
<p>Or if you installed it in your projects folder instead of $PATH</p>
<pre><code class="language-bash">./diji -d</code></pre>
<h3>Arguments</h3>
<p>Obviously you can use multiple arguments</p>
<pre><code class="language-bash">diji -q -d</code></pre>
<p>Or if you installed it in your projects folder instead of $PATH</p>
<pre><code class="language-bash">./diji -q -d</code></pre>
<p>And if you're a developer working on diji's source, you can use arguments when running it directly from the source by separating them from the main command with <code class="language-plaintext">--</code>.</p>
<pre><code class="language-bash">go run . -- -q -d</code></pre>
<div class="container2">
<div class="prev ge">
<a href="./favicons.html" style="text-decoration: none; color: white; height: 100%; width: 100%;">
<div style="width: 100%; height: 100%; display: flex; align-items: center;">
<div class="nextcontentparent">
<div class="getstartedcontent">
<img src="./assets/ic_fluent_chevron_left_24_filled.svg" height="30px" class="gep nep2">
<h3 class="gep nep">Favicons</h3>
<p class="gep gepar nepar">Previous page</p>
</div>
</div>
</div>
</a>
</div>
<div class="next ge">
<a href="./open-source.html" style="text-decoration: none; color: white; height: 100%; width: 100%;">
<div style="width: 100%; height: 100%; display: flex; align-items: center; justify-content: right; text-align: right;">
<div class="nextcontentparent">
<div class="getstartedcontent">
<div style="display: flex; justify-content: right;">
<img src="./assets/ic_fluent_chevron_right_24_filled.svg" height="30px" class="gep nep2">
</div>
<h3 class="gep nep">Open source</h3>
<p class="gep gepar nepar">Next page</p>
</div>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
<div id="drawer" class="navdrawer">
<img src="./assets/dijidocs.png" height="40px" class="logodrawer">
<a href="javascript:void(0)" class="closebtn navdrawera" onclick="closeNav()"><img src="./assets/ic_fluent_chevron_left_24_filled.svg" width="30px"></a>
<a href="./index.html" class="navdrawerlink">Homepage</a>
<a href="./introduction.html" class="navdrawerlink">Introduction</a>
<a href="./installation.html" class="navdrawerlink">Installation</a>
<a href="./favicons.html" class="navdrawerlink">Favicons</a>
<a href="#" class="navdrawerlinkactive">Configuration</a>
<a href="./open-source.html" class="navdrawerlink">Open source</a>
<a href="./roadmap.html" class="navdrawerlink">Roadmap</a>
<div style="height: 60px;"></div>
<!--<div class="drawerbottomlinks">
<div class="blc">
<a class="bottomlink" href="https://diji.puffercat.xyz">Main website ></a>
<a class="bottomlink" href="https://github.com/KZacharski/diji">GitHub ></a>
<a class="bottomlink" href="https://github.com/KZacharski/diji/tree/github-files/docs/docs">Docs GitHub ></a>
</div>
</div>-->
</div>
<div id="drawerbg" class="navdrawerbg" onclick="closeNav()"></div>
</div>
<div class="footer">
<p class="ftrtext">Created by <a href="https://puffercat.xyz" class="footerlink">KZacharski (Puffercat)</a></p>
<p class="ftrtext"><a href="https://diji.puffercat.xyz" class="footerlink">Project created with diji 1.1</a></p>
<p class="ftrtext"><a href="https://diji.puffercat.xyz" class="footerlink ftlpadding">Main website</a> <a href="https://github.com/KZacharski/diji" class="footerlink ftlpadding">GitHub</a> <a href="https://github.com/KZacharski/diji/tree/github-files/docs/docs" class="footerlink ftlpadding">Docs Github</a></p>
</div>
</body>
</html>