<p>Hello,</p>
<p>Does anyone know if there's a way to have the cover tool send the HTML report to a command-line browser, like elinks? I'm working on a development cluster and I only have command-line access on those nodes, so it would be nice to see the HTML coverage output without having to switch to a different box. Even just getting the raw HTML to view would be fine.</p>
<p>Thanks.</p>
<hr/>**评论:**<br/><br/>dgryski: <pre><p>Doesn't using <code>-o</code> work to send it to an output file?</p></pre>sybrandy: <pre><p>Derp, thanks. For some reason, I thought that only applied to the other commands since it stated that by default it want to STDOUT.</p></pre>dgryski: <pre><p>You can always ask the optimizer with <code>-m</code></p></pre>sybrandy: <pre><p>Actually, your first suggestion worked perfectly.</p></pre>sybrandy: <pre><p>FYI, elinks works pretty nicely with the HTML output. Lynx complained about invalid HTML. I didn't try any others, you YMMV.</p></pre>dgryski: <pre><p>Ha, my <code>-m</code> comment was meant for a different thread :) No wonder it didn't make sense to you!</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
0 回复
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传