Closed
Bug 768686
Opened 13 years ago
Closed 10 years ago
GCLI should support rest... arguments for commands
Categories
(DevTools Graveyard :: Graphic Commandline and Toolbar, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: fitzgen, Unassigned)
Details
Should be able to create a command that takes N arguments of the same type. For example an `xargs` command depends on this feature, as does a path join command.
> xargs <command> input1 input2 ... inputN
Running "<command> input1"
Running "<command> input2"
...
Running "<command> inputN"
or
> join example.com path/a path/b foo.txt
example.com/path/a/path/b/foo.txt
Comment 1•13 years ago
|
||
Some work on ArrayArguments has been done already. The assumption at the time was that we would use { type: 'string[]' } as the configuration syntax.
On one hand 'string...' might be slightly more javascripty. I think it might come down to if when done there is a way to have more than one array parameter. If it is, then this isn't really rest arguments. Otherwise it is.
Priority: -- → P2
Target Milestone: --- → Future
Comment 2•13 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
Comment 3•11 years ago
|
||
Resetting priorities because these P* levels are very out of date.
Sorry for the bug spam. Filter on Lobster Thermidor
Priority: P2 → --
Comment 4•10 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: 10 years ago
Resolution: --- → WONTFIX
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•7 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•