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

adding ability to add custom functions and filters for #200

This commit is contained in:
deadc0de6
2020-01-12 12:01:03 +01:00
parent a7a8d92799
commit f02327c6e4
6 changed files with 304 additions and 13 deletions

View File

@@ -85,6 +85,7 @@ def cmd_install(o):
return False
t = Templategen(base=o.dotpath, variables=o.variables,
func_file=o.func_file, filter_file=o.filter_file,
debug=o.debug)
tmpdir = None
if o.install_temporary:
@@ -205,6 +206,7 @@ def cmd_compare(o, tmp):
return False
t = Templategen(base=o.dotpath, variables=o.variables,
func_file=o.func_file, filter_file=o.filter_file,
debug=o.debug)
inst = Installer(create=o.create, backup=o.backup,
dry=o.dry, base=o.dotpath,