cli.sgit.ai / Command reference / sgit publish

sgit publish

Generate the plaintext surface for static publishing (.sg_vault/publish/ — the only path that changes).

Generated from sgit help all --format json, sgit-ai v0.23.0. No subcommands. To change this page, change the command's register() in the CLI and regenerate.

sgit publish [options] [directory]
ArgumentWhat it is
directoryoptionalVault directory (default: .)
OptionWhat it does
--api-docsEmit api/docs/ (Swagger UI); implies --api-spec. Default mode: cdn (SRI-pinned); bundled vendors ~1.53 MB One of: bundled, cdn.
--api-specEmit api/openapi.json describing this folder (a few KB)
--bundlesAlso emit bundles/ (head snapshot + per-commit delta zips)
--layoutURL layout recorded in the manifest (default: api-path) One of: api-path, flat.
--visibilitybare (default): no key published, unlisted; public: the READ KEY is published in the folder — irreversible One of: bare, named, public.
--yesSkip confirmation prompts (CI use)

This page as markdown · its source, admin/content/reference/sgit-cli-reference.json