From: Brian Dolbec Date: Thu, 15 May 2014 17:13:24 +0000 (-0700) Subject: cli.py: Complete docstrings X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4626141ce6464f8bb6efe04f649864315858496a;p=gentoo-keys.git cli.py: Complete docstrings --- 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: