asimov icon indicating copy to clipboard operation
asimov copied to clipboard

[feat] use configuration files

Open unsync opened this issue 3 years ago • 2 comments

The goal is to use a config file for excludes/includes, allowing to define custom paths. The default config files are created if they do not exists, with the same defaults as the current script.

Tested on MacOS 11.2

unsync avatar Feb 14 '21 14:02 unsync

How would this work if Asimov were to add additional paths to either of these lists in the future?

j-f1 avatar Feb 14 '21 15:02 j-f1

@j-f1 well, it would not work as it is ^^ you got several way to look at it depending on the direction wanted for this tool :

  • you set sane default during inital install, then you got full control over the sentinels
  • you add logic in the script that adds the new sentinels wanted by asimov

one could argue that the defaults by asimov do not work in their use case (maybe some wants to backup their node_modules, then reliyng only on defaults is a drawdown).

This PR is mostly a base for discussions, you could imagine several lists (defaults, excludes, overrides, etc)

unsync avatar Feb 14 '21 16:02 unsync