Closed Bug 842010 Opened 11 years ago Closed 8 years ago

[GCLI] optional catch-all command when no other commands are found

Categories

(DevTools Graveyard :: Graphic Commandline and Toolbar, enhancement)

x86_64
Windows 7
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: andre.selmanagic+mozilla, Unassigned)

Details

It would be nice to be able to register one (or more) "catch-all" command(s) that will be executed with the entered query as the first parameter, when the user presses enter and there are no matching registered commands ("Can't use X").

My motivation: I thought about implementing a visually enhanced Terminal-application (like TermKit) based on XULRunner or node-webkit that uses GCLI, but obviously I don't want to implement every possible command, but have a catch-all that simple tries to open / execute a child-process for the given query and displays stdout/stderror. From that base other commands could be implemented step by step and added to the application.

Same idea goes for sub-commands.

GCLI should still show a warning when no command / subcommand matches, but allow pressing enter for execution of the catch-all command.

Thanks
Triage. Filter on Lobster Thermidor.
Nice idea, but it's not been worked on in 4 years, and I don't see that the priority of GCLI has increased in that time, so I don't think we need to keep it on file.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.