1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 12:46:44 +00:00
This commit is contained in:
deadc0de6
2024-10-23 14:25:29 +02:00
committed by deadc0de
parent d252756e46
commit ed6bc7a117
2 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ Copyright (c) 2024, deadc0de6
default config
"""
default_config = """config:
DEFAULT_CONFIG = """config:
backup: true
banner: true
create: true
@@ -15,4 +15,4 @@ default_config = """config:
link_on_import: nolink
longkey: false
dotfiles:
profiles:"""
profiles:"""

View File

@@ -21,7 +21,7 @@ from dotdrop.cfg_aggregator import CfgAggregator
from dotdrop.action import Action
from dotdrop.utils import uniq_list, debug_list, debug_dict
from dotdrop.exceptions import YamlException, OptionsException
from dotdrop.config import default_config
from dotdrop.config import DEFAULT_CONFIG
ENV_PROFILE = 'DOTDROP_PROFILE'
ENV_CONFIG = 'DOTDROP_CONFIG'
@@ -153,7 +153,7 @@ class Options(AttrMonitor):
if self.args['gencfg']:
# print config and exit
print(default_config)
print(DEFAULT_CONFIG)
sys.exit(0)
if args: