Lines Matching refs:args
63 def __init__(self, command, args=None):
65 self.set_args(args)
73 def set_args(self, args):
74 if args is None:
78 if isinstance(args, basestring):
84 argv = [v[0] for v in re.compile(pattern).findall(args)]
87 self._args = args
110 def __init__(self, args=None):
111 if args is None:
114 self._cmdlist = list(args) # make a copy
158 def update_command(self, cmd, args, create=False):
161 entity.set_args(args)
163 self.add_command(MenuLstCommand(cmd, args))
217 "Add a command & args to the end of the global command section"
225 args = argv[1]
227 args = None
228 self._entitylist.insert(idx, MenuLstCommand(argv[0], args))