MCPcopy Create free account
hub / github.com/GNOME/gjs / _printCommand

Function _printCommand

modules/script/_bootstrap/debugger.js:889–897  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

887}
888
889function _printCommand(cmd) {
890 print(`${cmd.summary}\n\n${cmd.helpText}`);
891
892 if (cmd.aliases.length > 1) {
893 print('\nALIASES');
894 for (var alias of cmd.aliases)
895 print(` · ${alias}`);
896 }
897}
898
899function helpCommand(cmd) {
900 if (!cmd) {

Callers 1

helpCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected