by iterative.ai
Get started
Edit on GitHub

Command Reference: publish

cml publish [options] <image file>

Publicly host an image for displaying in a CML report.

Options

Any generic option in addition to:

  • --md: Produce output in markdown format.
  • -t=<...>, --title=<...>: Title for markdown output.
  • --mime-type=<...>: Content MIME type [default: inferred from content].
  • --native: Uses CI provider's native storage instead of CML's. Not available on GitHub.
  • --rm-watermark: Don't inject a watermark into the comment. Will break some CML functionality which needs to distinguish CML reports from other comments.

Examples

To render an image in a markdown file:

cml publish ./plot.png --md >> report.md
Content

🐛 Found an issue? Let us know! Or fix it:

Edit on GitHub

Have a question? Join our chat, we will help you:

Discord Chat