Help us shape the future of Go! Take the 2026 Go Developer Survey

demo

command
v0.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Command demo runs the terminal interface, or the --web server, over a made-up day's work, for the docs' recordings:

go run ./cmd/demo [-no-auto-announce]
go run ./cmd/demo -web [-port 0] [-version v0.12.0] [-hold-ci] [-no-auto-announce]

With -web it serves the web interface on the loopback port -port names, 0 for one the system chooses, and says where on stderr as workflow --web does, session and all; -version is what the page names the build, and -hold-ci keeps the end-to-end check running for good. -no-auto-announce, on either interface, turns messaging.auto_announce off, so opening a pull request arms no announcement. Nothing it shows is real and nothing it does leaves the process, but for the web page's configuration file, which a Settings save writes into a temporary directory removed on exit. The world and its tests are internal/demo's; no release builds this command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL