Add tljh-config command

We do not want users to hand-edit YAML files. This has been a
major source of bugs and confusion for users in z2jh. Doing so
in a terminal text editor makes it even worse.

This lets users type commands directly to modify config.yaml file
rather than edit files directly. This makes it a lot less error
prone and user friendly.

Advanced users can still edit config.yaml manually.

Fixes #38
This commit is contained in:
yuvipanda
2018-07-27 21:08:26 -07:00
parent 6c43a492ac
commit 70785f9fd3
3 changed files with 234 additions and 1 deletions

View File

@@ -13,5 +13,10 @@ setup(
install_requires=[
'pyyaml==3.*',
'ruamel.yaml==0.15.*'
]
],
entry_points={
'console_scripts': [
'tljh-config = tljh.config:main'
]
}
)