mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-10 00:34:16 +00:00
docstring
This commit is contained in:
@@ -22,6 +22,18 @@ class Updater:
|
||||
|
||||
def __init__(self, conf, dotpath, profile, variables, dry, safe,
|
||||
iskey=False, debug=False, ignore=[], showpatch=False):
|
||||
"""constructor
|
||||
@conf: configuration
|
||||
@dotpath: path where dotfiles are stored
|
||||
@profile: profile selected
|
||||
@variables: dictionary of variables for the templates
|
||||
@dry: simulate
|
||||
@safe: ask for overwrite if True
|
||||
@iskey: will the update be called on keys or path
|
||||
@debug: enable debug
|
||||
@ignore: pattern to ignore when updating
|
||||
@showpatch: show patch if dotfile to update is a template
|
||||
"""
|
||||
self.conf = conf
|
||||
self.dotpath = dotpath
|
||||
self.profile = profile
|
||||
|
||||
Reference in New Issue
Block a user