Dev Portal CLI
This is the next generation TypeScript based Dev 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 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
Disable 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 <workspace>
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 to keep binary assets as base64-encoded strings locally. - 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 wipe
- Add
-D
or--disable-ssl-verification
to disable SSL verification and use self-signed certs.
For enable
and disable
- Add
-D
or to disable SSL verification and use self-signed certs.