<div dir="ltr">While working on a script[1], I stumbled across this issue. the cmd.Cmd<br>class does not call its precmd function from its onecmd function in<br>either Python 2.7 or 3.6. I see several possible paths forward.<br><br>1. Ignore the issue and hope it goes away.<br>2. Report it upstream.<br>3. Change over to hot_config option exclusively.<br>4. Add a wrapper to onecmd that fixes things.<br>5. More extensive fixes to cmd.Cmd.<br>6. Change to a new command-line interpreter.<br>7. Another path I am not even considering.<br><br>I would advocate for the wrapper or changing to hot_config as the least<br>not good options at this time. Ignoring it stacks up technical debt for<br>later. Upstream would probably say it works as intended. Changing to a<br>new interpreter would throw away all the good work on this one. More<br>extensive work is possible but probably beyond my capabilities.<br><br><div>bikeshed moment: What does everyone think?<div><br>[1] <a href="https://gitlab.com/NTPsec/ntpsec/snippets/1893083">https://gitlab.com/NTPsec/ntpsec/snippets/1893083</a><br></div></div></div>