From 4626141ce6464f8bb6efe04f649864315858496a Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Thu, 15 May 2014 10:13:24 -0700 Subject: [PATCH] cli.py: Complete docstrings --- gkeyldap/cli.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gkeyldap/cli.py b/gkeyldap/cli.py index 1eba841..51a5060 100644 --- a/gkeyldap/cli.py +++ b/gkeyldap/cli.py @@ -27,6 +27,8 @@ class Main(object): """ Main class init function. @param root: string, root path to use + @param config: optional GKeysConfig instance, For API use + @param print_results: optional boolean, for API use """ self.root = root or "/" self.config = config or GKeysConfig(root=root) @@ -36,6 +38,11 @@ class Main(object): def __call__(self, args=None): + """Main class call function + + @param args: Optional list of argumanets to parse and action to run + Defaults to sys.argv[1:] + """ if args: self.run(self.parse_args(args)) else: -- 2.26.2