CLIUpdate Pages

Update Pages

The recommended command is now publish.

npx @internalpage/cli publish ./report.html --slug q2-report

publish --slug creates the page on the first run and updates the same page on later runs. The CLI stores the page ID in .internalpage/config.json.

The low-level compatibility command still exists when you need to target a page ID directly:

npx @internalpage/cli pages update pg_xxx ./report.html

You can also use the new command with an explicit page ID:

npx @internalpage/cli publish ./report.html --page pg_xxx

Prefer Publish Pages for new workflows.

For the audience and hosting decision behind a stable page URL, see private HTML report sharing and protect static HTML with Google SSO.