in reply to Re: Right place to put common execute code in App::Cmd
in thread Right place to put common execute code in App::Cmd
Hi tobyink,
thank you for answering that fast. I have to admit that I hoped it. ;-) (a ++ for that)
The first suggestion is not an option for me right now. The second approach is which I'm doing right now. But I wanted to avoid the call of before_execute in every execute method. I really hoped that there is another callback which I haven't found.
Once again. Thank you.
Best regards
McA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Right place to put common execute code in App::Cmd
by tobyink (Canon) on Dec 10, 2012 at 16:43 UTC |