From 74b2bc672f3dbf6f0852730a3b6dd5bf3b9f77d9 Mon Sep 17 00:00:00 2001 From: KZacharski Date: Mon, 28 Aug 2023 09:46:08 +0200 Subject: [PATCH] created configuration --- docs/docs/configuration.html | 123 +++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 docs/docs/configuration.html diff --git a/docs/docs/configuration.html b/docs/docs/configuration.html new file mode 100644 index 0000000..78c54a7 --- /dev/null +++ b/docs/docs/configuration.html @@ -0,0 +1,123 @@ + + + + + + +Configuration - diji docs + + + + + + + + +
+ +
+
+

Configuration

+

Last edited: 28 August 2023
Open on GitHub

+

Currently diji has 2 options that can be changed permanently through the config file or temporarily with arguments.

+

These options are: +

    +
  • Quick mode
  • +
  • Debug mode
  • +
+

+

The config file is called config.txt and is located in the diji-config folder in the location where you installed diji

+

Quick mode

+

Quick mode automatically selects the default options in prompts you would normally have to answer/skip when using diji (besides project name)

+

You can enable it by changing false to true in the quick-mode = false line of the config file or by running diji with a -q argument.

+
diji -q
+

Or if you installed it in your projects folder instead of $PATH

+
./diji -q
+ +

Debug mode

+

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.

+

You can enable it by changing false to true in the debug = false line of the config file or by running diji with a -d argument.

+
diji -d
+

Or if you installed it in your projects folder instead of $PATH

+
./diji -d
+

Arguments

+

Obviously you can use multiple arguments

+
diji -q -d
+

Or if you installed it in your projects folder instead of $PATH

+
./diji -q -d
+

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 --.

+
go run . -- -q -d
+ + + +
+
+ + + + + + + + +
+ + + \ No newline at end of file