Reference
The GitBook Integration Platform is currently in alpha. It's not opened to developers just yet.
References for the command line utility
gitbook
. The CLI can be used to create, test and publish integrations for the GitBook Integrations platform.Install the CLI using
npm install @gitbook/cli -g
.Authenticate the CLI with a GitBook Developer API token. You can generate a personal developer token in your GitBook Developer settings.
The token can also be provided using the command line argument
--token=<token>
; if none is provider, it'll be prompted.Create and initialize a new integration locally. The program will prompt for information about the integration.
Publish the integration defined in the
gitbook-manifest.yaml
file. See the GitBook Manifest reference documentation to learn more.Unpublish your integration from the GitBook integration platform.
Print information about the currently authenticated user.
View the GitBook CLI commands and information on using them.
Last modified 10d ago