[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] cli changes parser
From:       Tzafrir Cohen <tzafrir.cohen () xorcom ! com>
Date:       2006-11-30 18:53:41
Message-ID: 20061130185341.GE1754 () xorcom ! com
[Download RAW message or body]

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@jabber.org
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com       
http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic