Skip to content

CLI Reference

This section provides a reference for the html2rss command-line interface (CLI).

For detailed documentation on the Ruby API, please refer to the official YARD documentation.

📚 View the Ruby API Docs on rubydoc.info


The html2rss executable provides the primary way to interact with the tool from your terminal.

Automatically generates an RSS feed from the provided URL.

  • <URL> (Required): The URL of the website to generate a feed from.

Example:

Terminal window
html2rss auto https://unmatchedstyle.com/

Generates an RSS feed based on the provided YAML configuration file.

  • <CONFIG_FILE> (Required): Path to your YAML configuration file.

Examples:

Terminal window
# Generate and print to console
html2rss feed my_feed.yml
# Generate and save to an XML file
html2rss feed my_feed.yml > my_feed.xml

Displays the help message with available commands and options.

Displays the currently installed version of html2rss.