Love the CLI auto command lookup improvement


#1

The auto command lookup is great. A very nice improvement. Don’t know when this was added as haven’t used CLI in awhile but thanks.


(Lorne Gaetz) #2

Predates my involvement so more than 12 years.


#3

That seems strange as I can clearly remember having to type something like Help + aaa to get a list. I have been using FPBX awhile but doesn’t seem that long ago. I any case, typeomatic is a great feature.


(Nate) #4

I think the autocomplete in the Asterisk CLI module showed up in FreePBX 14, if that’s what you’re referring to.


#5

Yes, Thanks.


(Tom Ray) #6

No, it did not. As @lgaetz pointed out, this feature has been around for over a decade. This is not something new even though you were this many days old when you discovered it.


(Nate) #7

If only there was a way we could know for sure…

Source: https://github.com/FreePBX/asterisk-cli/commit/0be0216fb7a00ef8772ecd37b1ca587652aac035


(Tom Ray) #8

That is JAVASCRIPT which is for the GUI or something running through NodeJS at the server level. That has absolutely nothing to do with the Asterisk console being able to auto complete commands. People running non-FreePBX systems with Asterisk have this same function even without a GUI.


(Nate) #9

That’s why I made the distinction in my initial reply, because I suspect the possibility that the OP was referring to the GUI, which is somewhat recent-ish.


#10

Yes, this is the FreePBX forum after all. Good clarification. I have never used the GUI - CLI module.


#11

I was hoping the thread was about fwconsole.

An fwconsole bash_completion script would be a nice addition.


#12

Good idea, here you go. . .

it should be quite easy as fwconsole spits out all options if incomplete already. Also

https://wiki.freepbx.org/plugins/servlet/mobile?contentId=37912685#content/view/37912685


#13

I was referring to the GUI CLI. Shows how careful one needs to being the forum as ones context does not always translate into the words. A major human frailty.


#14

Well aware, have done it before - several times. Maybe one day for fwconsole, but not enough time for now.


#15

I would wager you use zsh too :wink:


(system) closed #16

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.