[asterisk-dev] show vs. list

Anton anton.vazir at gmail.com
Fri Oct 13 01:14:40 MST 2006


I would also suggest a short versions of the commands like
deb - debug sho - show - like CISCO and many other does. 
this is quite a bit usefull.

On 13 October 2006 12:22, Tzafrir Cohen wrote:
> 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".


More information about the asterisk-dev mailing list