[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
I'd suggest a better way, one that involves adding another argument template to command templates. If you want, for example, that get command only works with local objects, it'd be natural to define get command template as 'get <local:descendant of $location>' and then leave the parsing to the system that's already in place for that. Read the code on $command_lib to find the hooks you'll need.