From 97b01a48914fbed96b73fe8532bad3b4bd08027e Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Tue, 9 Sep 2008 21:18:44 +0000 Subject: 273: Added Command.get_args() method; added corresponding unit tests --- ipalib/public.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipalib/public.py') diff --git a/ipalib/public.py b/ipalib/public.py index 90b3b88a..b22eff0e 100644 --- a/ipalib/public.py +++ b/ipalib/public.py @@ -214,6 +214,9 @@ class Command(plugable.Plugin): options = tuple() takes_args = tuple() + def get_args(self): + return self.takes_args + def get_options(self): return self.options -- cgit