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