Gitbook CLI

How to use the GitBook CLI (the `gitbook` command from the @gitbook/cli package) to authenticate, scaffold and develop GitBook integrations, publish and unpublish them, check the authenticated user, and publish or update OpenAPI specs to a GitBook organization (including from CI/CD). Use this skill whenever the user runs or asks about any `gitbook` subcommand (auth, new, dev, publish, unpublish, whoami, openapi publish), is building or shipping a GitBook integration, edits a gitbook-manifest.yaml, or needs to push an OpenAPI specification to GitBook, even if they don't mention the CLI by name.

gitbookio dd7aa59 5.0 KB Updated

File contents

gitbookio/skills/tree/main/skills/gitbook-cli commit dd7aa5915f

Frequently asked questions

npx skillmds@latest add gitbookio/gitbook-cli