Page

bl content

Replace the page HTML content

Replace the page HTML content

Usage

bl content [html] [OPTIONS]

Arguments

ArgumentDescription
[html]HTML to set as the page content

Options

OptionDescription
--stdinRead HTML from stdin
--headlessHide browser window (visible by default)
--jsonOutput as JSON
--session <value>Run this command in the named session (env: BL_SESSION; default: "default")

Global options

OptionDescription
-v, --verboseEnable debug logging

Examples

bl content "<h1>Hello World</h1>"
# Set page content directly

echo "<h1>Hello</h1>" | bl content --stdin
# Set page content from stdin

On this page