Closed
Bug 807652
Opened 12 years ago
Closed 8 years ago
GCLI should allow parameterless executable parent commands
Categories
(DevTools Graveyard :: Graphic Commandline and Toolbar, defect)
DevTools Graveyard
Graphic Commandline and Toolbar
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jwalker, Unassigned)
References
Details
Using 'git' as an example: What if we wanted a 'git' command in GCLI to have some default action, say 'help' for the purposes of this discussion: >> git help Git is great. blah blah. >> git Git is great. blah blah. (We might even dispense with the 'git help' command, but that's not important here) The problem comes with parameters: >> git help revisions Revisions are awesome. blah blah. >> git revisions ERROR: How do we know if 'revisions' is a command or a parameter. So currently parent commands are not executable. It might be possible to make parameter-less parent commands executable though. The biggest problem would knowing what sort of help the user wanted when they typed 'git' and pressed F1.
Comment 1•12 years ago
|
||
What about the commands that might not even need a single param, restart, screenshot etc. ?
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Girish Sharma [:Optimizer] from comment #1) > What about the commands that might not even need a single param, restart, > screenshot etc. ? I'm not sure what you're asking. I'm not proposing any change there.
Comment 3•12 years ago
|
||
Oh, so you mean that commands will have the ability to use this feature if they want, and it would not be a native gcli thing.. as in gcli itself implements the help function when commands are entered without any params. . ?
Reporter | ||
Comment 4•12 years ago
|
||
(In reply to Girish Sharma [:Optimizer] from comment #3) > Oh, so you mean that commands will have the ability to use this feature if > they want, and it would not be a native gcli thing.. as in gcli itself > implements the help function when commands are entered without any params. . > ? 'help' is just an example, yes.
Reporter | ||
Comment 5•11 years ago
|
||
New component triage. Filter on "Lobster Thermidor aux crevettes with a Mornay sauce"
Component: Developer Tools: Console → Developer Tools: Graphic Commandline and Toolbar
Reporter | ||
Comment 7•8 years ago
|
||
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: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•