1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-06 13:42:59 +00:00

adding support for pre/post actions

This commit is contained in:
Ziirish
2018-05-31 22:33:57 +02:00
parent 018cfd6fe2
commit e04ad54c6c
4 changed files with 90 additions and 13 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