carbon-cli – Carbon, from the CLI

carbon-cli is a CLI tool which interacts with the aforementioned Carbon, allowing you to create beautiful images of your source code.

Installation per NPM/Yarn, or run it directly using npx

npm i -g carbon-cli

Usage is quite simple:

carbon -f file.js

carbon-cli – Carbon, from the CLI →

Elsewhere , ,

One Response to carbon-cli – Carbon, from the CLI

  1. Sergio says:

    Where it creates the image file? And why ‘-f’ if there is no other meaningful task to do, why not go the usual unix way of STDIN (for pipes) or directly mention the filename as a parameter instead?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.