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

refactor ignore patterns

This commit is contained in:
deadc0de6
2023-12-21 15:21:31 +01:00
committed by deadc0de
parent 82eee66e56
commit a61bd34799
8 changed files with 277 additions and 17 deletions

View File

@@ -170,8 +170,8 @@ class Options(AttrMonitor):
self.log.dbg('#################### DOTDROP ####################')
self.log.dbg('#################################################')
self.log.dbg(f'version: {VERSION}')
args = ' '.join(sys.argv)
self.log.dbg(f'command: {args}')
self.argv = ' '.join(sys.argv)
self.log.dbg(f'command: {self.argv}')
self.log.dbg(f'config file: {self.confpath}')
self._read_config()
@@ -185,6 +185,9 @@ class Options(AttrMonitor):
# start monitoring for bad attribute
self._set_attr_err = True
def debug_command(self):
self.log.dbg(f'command: {self.argv}')
@classmethod
def _get_config_from_env(cls, name):
# look in XDG_CONFIG_HOME