Skip to content

All docs

CLI

CLI reference

This page lists the flags and commands you will reach for most often. Run publicsurface help for the full list.

Global flags

publicsurface --env production --project
publicsurface --env production --project
publicsurface --env production --project

--env selects the target environment and --project overrides the project defined in publicsurface.yaml.

Common commands

publicsurface init                 # create a new project
publicsurface ingest send          # send a single event
publicsurface deploy mark          # create a deploy marker
publicsurface logs tail            # stream live logs
publicsurface init                 # create a new project
publicsurface ingest send          # send a single event
publicsurface deploy mark          # create a deploy marker
publicsurface logs tail            # stream live logs
publicsurface init                 # create a new project
publicsurface ingest send          # send a single event
publicsurface deploy mark          # create a deploy marker
publicsurface logs tail            # stream live logs

New to the CLI? Start with Install the CLI.

Create a free website with Framer, the website builder loved by startups, designers and agencies.