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

update doc and tests for link

This commit is contained in:
deadc0de6
2022-05-31 18:24:30 +02:00
committed by deadc0de
parent cda6d08f5f
commit fa1be9d29c
16 changed files with 41 additions and 40 deletions

View File

@@ -19,7 +19,7 @@ USAGE = """
change-link.py
Usage:
change-link.py (--true | --false) [--ignore=<dotfile-name>...] <config.yaml>
change-link.py --value=<value> [--ignore=<dotfile-name>...] <config.yaml>
change-link.py --help
Options:
@@ -35,11 +35,7 @@ def main():
"""entry point"""
args = docopt(USAGE)
path = os.path.expanduser(args['<config.yaml>'])
if args['--true']:
value = True
if args['--false']:
value = False
value = args['--value']
ignores = args['--ignore']
with open(path, 'r') as file: