Developer Portal CLI

    This is the next generation TypeScript based Developer Portal CLI. The goal of this project is to make a higher quality CLI tool over the initial sync script.

    Usage

    The easiest way to start is by cloning the portal-templates repo master branch locally.

    Make sure Kong is running and portal is on.

    Now, from the root folder of the templates repo, you can run:

    Where <command> is one of:

    • deploy Deploy changes made locally under the given workspace upstream.
    • disable Enable the portal on the given workspace.
    • enable Enable the portal on the given workspace.
    • Fetches content and themes from the given workspace.
    • wipe Deletes all content and themes from upstream workspace

    Where indicates the directory/workspace pairing you would like to operate on.

    For deploy

    • Add -W or --watch to make changes reactive.
    • Add -D or --disable-ssl-verification to disable SSL verification and use self-signed certs.
    • Add -I or --ignore-specs to ignore the /specs directory.

    For fetch

    • Add -K or --keep-encode to keep binary assets as base64-encoded strings locally.
    • Add or --disable-ssl-verification to disable SSL verification and use self-signed certs.
    • Add -I or --ignore-specs to ignore the /specs directory.

    For wipe

    • Add -D or --disable-ssl-verification to disable SSL verification and use self-signed certs.

    For enable and disable

    • Add -D or --disable-ssl-verification to disable SSL verification and use self-signed certs.