Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
84 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"_comment": "Package atom-terminal-panel: This terminal-commands.json file was automatically generated by atom-terminal-package. It contains all useful config data.", | ||
"commands": { | ||
"hello_world": { | ||
"description": "Prints the hello world message to the terminal output.", | ||
"command": [ | ||
"echo Hello world :D", | ||
"echo This is", | ||
"echo example usage", | ||
"echo of the console" | ||
] | ||
} | ||
}, | ||
"actions": [], | ||
"toolbar": [ | ||
[ | ||
"clear", | ||
"clear", | ||
"Clears the console output." | ||
], | ||
[ | ||
"info", | ||
"info", | ||
"Prints the terminal welcome message." | ||
], | ||
[ | ||
"all available commands", | ||
"memdump", | ||
"Displays all available builtin commands. (all commands except native)" | ||
] | ||
], | ||
"rules": { | ||
"\\b[A-Z][A-Z]+\\b": { | ||
"match": { | ||
"flags": [ | ||
"g" | ||
] | ||
}, | ||
"css": { | ||
"color": "gray" | ||
} | ||
}, | ||
"(error|err):? (.*)": { | ||
"match": { | ||
"matchLine": true, | ||
"replace": "%(label:error:text:Error) %(0)" | ||
}, | ||
"css": { | ||
"color": "red", | ||
"font-weight": "bold" | ||
} | ||
}, | ||
"(warning|warn|alert):? (.*)": { | ||
"match": { | ||
"matchLine": true, | ||
"replace": "%(label:warning:text:Warning) %(0)" | ||
}, | ||
"css": { | ||
"color": "yellow" | ||
} | ||
}, | ||
"(note|info):? (.*)": { | ||
"match": { | ||
"matchLine": true, | ||
"replace": "%(label:info:text:Info) %(0)" | ||
}, | ||
"css": {} | ||
}, | ||
"(debug|dbg):? (.*)": { | ||
"match": { | ||
"matchLine": true, | ||
"replace": "%(label:default:text:Debug) %(0)" | ||
}, | ||
"css": { | ||
"color": "gray" | ||
} | ||
} | ||
} | ||
} |