1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-07 19:09:21 +00:00

uninstall skeleton

This commit is contained in:
deadc0de6
2023-09-11 21:01:47 +02:00
committed by deadc0de
parent c9f2929d96
commit f2116f2293
2 changed files with 26 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ Usage:
dotdrop update [-VbfdkPz] [-c <path>] [-p <profile>]
[-w <nb>] [-i <pattern>...] [<path>...]
dotdrop remove [-Vbfdk] [-c <path>] [-p <profile>] [<path>...]
dotdrop uninstall [-Vbfdk] [-c <path>] [-p <profile>] [<path>...]
dotdrop files [-VbTG] [-c <path>] [-p <profile>]
dotdrop detail [-Vb] [-c <path>] [-p <profile>] [<key>...]
dotdrop profiles [-VbG] [-c <path>]
@@ -340,6 +341,11 @@ class Options(AttrMonitor):
self.remove_path = self.args['<path>']
self.remove_iskey = self.args['--key']
def _apply_args_uninstall(self):
"""uninstall specifics"""
self.uninstall_path = self.args['<path>']
self.uninstall_iskey = self.args['--key']
def _apply_args_detail(self):
"""detail specifics"""
self.detail_keys = self.args['<key>']
@@ -403,6 +409,9 @@ class Options(AttrMonitor):
# "remove" specifics
self._apply_args_remove()
# "uninstall" specifics
self._apply_args_uninstall()
def _fill_attr(self):
"""create attributes from conf"""
# defined variables