[asterisk-dev] cli changes parser
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu Nov 30 11:53:41 MST 2006
On Thu, Nov 30, 2006 at 01:10:33PM -0500, Marc Blanchet wrote:
> Hi,
> I'm trying to get a exhaustive list of all cli changes, for 1.2-
> >1.4 (i.e. find the removed, deprecated, updated and new cli
> commands). I have looked around and haven't found any tool/doc/... .
> I'm thinking of writing a parser which would do it for me (either
> parsing through the source code or by exercising the cli), but before
> doing so, if anyone have any suggestion/hint of a simpler way, I'm
> all ears...
asterisk -rx help
on both instances.
And diff the results.
Mind you, the output format is not the most optimal for parsing. It took
me a while to get the proper parser to extract the list of commands for
it in rapid-menu.
The result also depends on the specific modules that were built and are
loaded.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir at jabber.org
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-dev
mailing list