Skip to content

Allow to use custom filename && directory name to store configs #340

@feruzoripov

Description

@feruzoripov

Problem

The current solution of hardcoding the filename and directory name to settings.yml and settings folder is not ideal, as it can lead to conflicts if the same filename or directory name is already being used by other logics.

A better solution is to add two configuration fields, Config.file_name and Config.dir_name, which will allow users to specify their own filename and directory name. This will make it possible to avoid conflicts and it will also give users more flexibility in how they store their data.

Solution

Added two configuration fields:

  • Config.file_name for filename
  • Config.dir_name for directory name

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions