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

RESOLVED WONTFIX

Status

DevTools
Graphic Commandline and Toolbar
--
enhancement
RESOLVED WONTFIX
6 years ago
a month ago

People

(Reporter: A. Sel., Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
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
Last Resolved: 2 years ago
Resolution: --- → WONTFIX

Updated

a month ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.