mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Require argvard >= 0.3.0
This commit is contained in:
parent
af96190e09
commit
66875d5fb5
2 changed files with 5 additions and 6 deletions
6
setup.py
6
setup.py
|
|
@ -26,6 +26,10 @@ setup(
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': ['vdirsyncer = vdirsyncer.cli:main']
|
'console_scripts': ['vdirsyncer = vdirsyncer.cli:main']
|
||||||
},
|
},
|
||||||
install_requires=['argvard', 'requests', 'lxml'],
|
install_requires=[
|
||||||
|
'argvard>=0.3.0',
|
||||||
|
'requests',
|
||||||
|
'lxml'
|
||||||
|
],
|
||||||
extras_require={'keyring': ['keyring']}
|
extras_require={'keyring': ['keyring']}
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -132,11 +132,6 @@ def _main(env, file_cfg):
|
||||||
general, all_pairs, all_storages = file_cfg
|
general, all_pairs, all_storages = file_cfg
|
||||||
app = argvard.Argvard()
|
app = argvard.Argvard()
|
||||||
|
|
||||||
@app.main()
|
|
||||||
def app_main(context):
|
|
||||||
# https://github.com/DasIch/argvard/issues/2
|
|
||||||
app.options['--help'].function(context)
|
|
||||||
|
|
||||||
@app.option('--verbosity verbosity')
|
@app.option('--verbosity verbosity')
|
||||||
def verbose_option(context, verbosity):
|
def verbose_option(context, verbosity):
|
||||||
'''
|
'''
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue