Appearance
io.display.code
Represents a display.code component.
Usage
ts
const code = dedent(```
forge-dev-cli init-local-workstation
forge-dev-cli setup-dev-container
```)
await io.display.code("Run the CLI to configure your local development environment", {
code,
language: "bash",
})
python
code=textwrap.dedent("""
forge-dev-cli init-local-workstation
forge-dev-cli setup-dev-container
""")
await io.display.code(
"Run the CLI to configure your local development environment",
code=code
language="bash",
)