Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Configuration File Support #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions arghandler/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"""

import sys
import argparse
import configargparse as argparse
import logging
import inspect

__all__ = ['ArgumentHandler','LOG_LEVEL','subcmd','reset_registered_subcommands']
__all__ = ['ArgumentHandler', 'LOG_LEVEL','subcmd','reset_registered_subcommands']

LOG_LEVEL='log_level'

Expand Down Expand Up @@ -79,7 +79,7 @@ class ArgumentHandler(argparse.ArgumentParser):

def __init__(self,*args,**kwargs):
"""
All constructor arguments are the same as found in `argparse.ArgumentParser`.
All constructor arguments are the same as found in `configargparse.ArgumentParser`.

kwargs
------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
url='http://www.github.com/druths/arghandler',
packages=['arghandler','arghandler.tests'],

install_requires = [ 'argcomplete' ],
install_requires = ['argcomplete', 'configargparse'],

license='Apache',

Expand Down