[asterisk-dev] show vs. list

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Oct 13 00:22:03 MST 2006


On Fri, Oct 13, 2006 at 08:13:19AM +0100, Chris Lee wrote:
> 
> 
> Luigi Rizzo wrote:
> >On Thu, Oct 12, 2006 at 06:36:32PM -1000, sam at bingner.com wrote:
> >>I recently was looking at the changes made in 1.4 to add 'list' in  
> >>certain instances over 'show' in the CLI.   I would suggest  
> >>standardizing on 'show' for anything that's displaying information, be  
> >>it a list or not.  The addition of the option to have 'list'  
> >
> >i find the difference confusing too, maybe it's because i was too used
> >to the old interface...
> >
> >I am also not particularly happy about the addition of prefixes
> >("console", "core") to several commands, that make it harder to type
> >them. Here I probably understand the motivations a bit more - reduce
> >the chance of namespace collisions.
> >
> Maybe it would help if the CLI had a "tree structure" so you could 
> change to "core" or "console" to work with those commands;
> Something like:
> bob*CLI> core
> bob*CLI*core> command
> ...
> bob*CLI*core> return
> bob*CLI*>

You have. It's called "tab completion".

write "core" and press tab twice.

Run the command "help core".

-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com


More information about the asterisk-dev mailing list