Skip to content

Default configuration file

Latest
Compare
Choose a tag to compare
@VladimirMarkelov VladimirMarkelov released this 26 Nov 03:17
ea56aaa

A default configuration file is incorporated into the binary. Now, you do not have to keep ttdl.toml just in case. You always can generate it from scratch. Use one of two command-line options:

  • --init - this option creates the global TTDL configuration file if it does not exist yet.
  • --init-local - this option creates a local TTDL configuratoin file in the current working directory, if the file does not exist yet

In both cases, if the configuration file already exists, TTDL does not overwrite anything. It is safe to run TTDL with any of those option - all your existing changes in configuration file will be kept intact. TTDL displays a proper message about it.

If TTDL creates a new configuration file successfully, it prints out the location of the new file.