gcli usage
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

View only
 
ABDFGHIJKLMNOPQRSTUVWXYZAAAB
1
cmdrelease (58 days)beta (58 days)
nightly (58 days)
descriptiondecisionreason
2
Error count in toolbar (not a command)
???This is the error count displayed in the toolbar. We don't have data about its usage but seems useful. It has been broken for at least 2 years (after e10s I think): https://bugzilla.mozilla.org/show_bug.cgi?id=1228034provide alternativeseems like an important enough feature that we should preserve. But no data to back this up
3
restart148026454429restarts FF, possibly in safemode, possibly by removing cachekillThis is the most used command. we don't know why people use it. It's available in about:profiles already.
4
help306480456lists commandskillif gcli is killed, no need for this one
5
screenshot294668704takes screenshot. More flexible than the toolbox/rdm's screenshot toolskillalternative already provided, but they are not nearly as powerful. inspector's screenshot node uses this GCLI command, so code should be moved to preserve that.
6
folder openprofile7249192open your FF profile folderkillAlready available in about:profiles
7
cookie list448429Lists cookieskillthe storage inspector can be used. It's on by default and has a keyboard shortcut. It even shows cookies by default
8
media emulate326779Re-render the page with a different media type like printprovide alternativeSomething for RDM? Inspector?
9
rulers205318displays the rulers along the x/y axis without opening devtoolskillThis is a very designer-oriented feature. People probably won't be looking for it in a command line. It's already available inside the toolbox as a toolbar button
10
listen1649203starts the debugger server on a given portprovide alternativeonly way to remote debug another instance of FF. Maybe something in about:debugging?
11
console open134234open the consolekillalready a keyboard shortcut for this
12
eyedropper132126starts the eyedropper without opening devtoolskillThis is a very designer-oriented feature. People probably won't be looking for it in a command line. There's already a button in the inspector for it
13
measure101418displays the measurement tool on the page without opening devtoolskillThis is a very designer-oriented feature. People probably won't be looking for it in a command line. It's already available inside the toolbox as a toolbar button
14
addon list91942lists addons with links to disable themkillmight be used in nightly by mozilla engineers, an alternative would be nice. But about:addons provides the same thing
15
folder open92321opens a specified folder in the file explorer/finderkillwhat? why? I don't even...
16
qsa8238gives the number of nodes matching a css selectorkillnot used much and can be done with $$ in the console. Also doesn't seem particularly useful because it only gives the number
17
console clear71916clear the consolekillif the console is open already, you could use clear()
18
jsb790beautify some JS and open it in scratchpad when donekillreally? This is really not a core thing.
19
security csp71216
20
cookie set625create a new cookikillthe storage inspector can be used to edit/create/delete. It's on by default and has a keyboard shortcut. It even shows cookies by default
21
highlight61629highlight any number of nodes in the pagekillThis is a very designer-oriented feature. While you can do some of it in the inspector (from the rule-view), it's not as powerful at all. but it's also complex to use. And usage is very low. Could be replaced by a devtools extension like https://github.com/captainbrosset/devtools-highlighter
22
inject51213inject any <script> from a URLprovide alternativevery handy and received some really good feedback when we implemented it. But usage really low. Maybe a magic function in the console instead
23
pref set52316set a prefkillabout:config is the natural place for this
24
pref show528show the value of a pref, with autocompletion on the pref nameskillabout:config is the natural place for this
25
resize off5918Turns RDM offkillThere's already a shortcut for RDM
26
resize on51926Turns RDM onkillThere's already a shortcut for RDM
27
clear43521killif gcli is killed, no need for this one
28
inspect398killthe vast majority of people do right-click inspect element. This is the workflow that people use and that's it.
29
appcache clear21218killdeprecated: https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache
30
calllog start2123?killdoesn't seem to work
31
calllog stop250?killdoesn't seem to work
32
console close2165closes the toolbox (not just the console)killkeyboard shortcut to do this already
33
context220killOnly useful if gcli exists.
34
dbg open2913killkeyboard shortcut to do this already
35
security referrer2511?
36
appcache list1143killdeprecated: https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache
37
break list150killCan be done inside the debugger UI
38
cookie remove173remove a cookiekillthe storage inspector can be used to edit/create/delete. It's on by default and has a keyboard shortcut. It even shows cookies by default
39
dbg blackbox155killCan be done inside the debugger UI
40
dbg close100killCan be done inside the debugger UI
41
dbg interrupt103killCan be done inside the debugger UI
42
edit158open the style-editor on a given CSS and on a given line. Autocomplete file names. Only works with CSSkillStyle editor can be opened with a keyboard shortcut. Also command is confusing, only works for CSS.
43
unlisten1011stop listeningprovide alternativeonly way to remote debug another instance of FF. Maybe something in about:debugging?
44
media reset125
45
pagemod remove attribute100killunused and better done with the inspector
46
paintflashing on1213starts the paintflashing featurekillthis can be a useful perf tool. Almost unused though. Has a toolbox button.
47
paintflashing off1211stops the paintflashing featurekillthis can be a useful perf tool. Almost unused though. Has a toolbox button.
48
pref reset1260resets the user-set value of a prefkillabout:config
49
resize to123opens RDM if closed, and set sizekillalmost unused, can be done within RDM, which can be opened with a keyboard shortcut
50
resize toggle150toggles RDMkillalmost unused, RDM can be toggled with a keyboard shortcut already
51
addon ctp0513provide alternativemight be used in nightly by mozilla engineers, an alternative would be nice
52
addon enable0029provide alternativemight be used in nightly by mozilla engineers, an alternative would be nice
53
addon disable0040provide alternativemight be used in nightly by mozilla engineers, an alternative would be nice
54
appcache validate020killdeprecated: https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache
55
appcache viewentry020killdeprecated: https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache
56
break add line000add a breakpointkillunused
57
break del000remove a breakpointkillunused
58
calllog chromestart000?killunused
59
calllog chromestop000?killunused
60
dbg continue000control the debuggerkillunused
61
dbg list000control the debuggerkillunused
62
dbg step000control the debuggerkillunused
63
dbg step in000control the debuggerkillunused
64
dbg step out000control the debuggerkillunused
65
dbg step over000control the debuggerkillunused
66
dbg unblackbox000control the debuggerkillunused
67
export html075get the html of the pagekillunused and better done with the inspector
68
unhighlight053turn all highlighters off?see highlight command
69
pagemod remove element000killunused and better done with the inspector
70
pagemod replace005killunused and better done with the inspector
71
csscoverage
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...