Hey folks,
Back when `pastebin.mozilla.org` was being decomissioned, we removed `mach pastebin` to avoid confusing people who tried using it. Bug 1480362 tracked that work. Now that `paste.mozilla.org` has been stood up, `mach pastebin` is back and ported to use the new service. As with the previous implementation you can send data to be pasted via stdin: $ some_command | ./mach pastebin Or by specifying a file on the command line: $ some_command > output.txt $ ./mach pastebin output.txt You can use `--highlighter` to indicate what syntax highlighting should be used for display. Passing `--list-highlighters` will display all the known available highlighters. If you don't pass a highlighter, `mach pastebin` will attempt to use the filename extension to determine a highlighter, and it will also try the basename of the file if the extension doesn't return a result. The code is available in-tree at `tools/mach_commands.py`. File bugs against `Firefox Build System :: General` on BMO. Thanks to Nick Alexander and Nathan Froyd for the reviews. Cheers, Connor Sheehan _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform