[asterisk-dev] Standardizing CLI commands across modules

Miguel Molina mmolina at millenium.com.co
Wed Jul 14 11:46:36 CDT 2010


El 14/07/10 10:56, Steve Edwards escribió:
>> On 10-07-13 04:56 PM, Steve Edwards wrote:
>>      
>    
>>> I've been advised that I can do all this voodoo using aliases, but I
>>> suspect I'll lose command completion or some other feature if I go down
>>> this path and I suspect I'm not the only one who finds the current CLI
>>> obtuse.
>>>        
> On Wed, 14 Jul 2010, Leif Madsen wrote:
>
>    
>> Well the decision was made (for better or for worse) between 1.2 and 1.4
>> -- the discussion about the formatting happened a long time ago, so
>> there isn't much to be done about that there.
>>      
> I understand -- I've beat this horse before.
>
> I'm just frustrated that (in my opinion) the wrong decision was made and
> that there is so much inertia.
>
> Kind of reminds me of the old cliche of the husband blindly driving down
> the road refusing to listen to his wife begging him to stop and ask
> directions or turn around.
>
> Till next time...
>
>    
It's just a thing of getting accustomed to the new syntax. Apart from 
the decision, I think there were enough deprecation warnings in 1.4 to 
be wide aware of the changes. Leaps from 1.2 to 1.6 are more difficult 
because of the lack of the middle 1.4 step to get used to.

Quick command concordance

1.2                            1.6+
show queue ... = queue show ...
show agents ... = agent show ...
show manager ... = manager show ...
set verbose ... = core set verbose ...
show channels ... = core show channels ...
show uptime = core show uptime
stop now = core stop now
originate ... = channel originate ...

And so on.

-- 
Ing. Miguel Molina
Grupo de Tecnología
Millenium Phone Center




More information about the asterisk-dev mailing list