1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-08 16:04:16 +00:00

adding a new Transform object to simplify trans/actions logic

This commit is contained in:
Ziirish
2018-06-01 22:11:49 +02:00
parent a867a850d8
commit aa3ad5e8ab
4 changed files with 33 additions and 24 deletions

View File

@@ -8,7 +8,7 @@ represents a dotfile in dotdrop
class Dotfile:
def __init__(self, key, dst, src,
actions={}, trans={}, link=False):
actions={}, trans=[], link=False):
# key of dotfile in the config
self.key = key
# where to install this dotfile