sdk repos
Lists each language's GitHub repository: where it's staged, where it's released, its branch and its state. Generated SDKs are pushed to the staging repository first, and released to production from there.
bash
octri sdk repos [list | init <language>]octri sdk repos init <language>
Sets up where one language is staged and released. Each repository needs its owner, name and branch.
Arguments
<language>stringrequiredThe language ID. --lang works too.
Flags
--staging-owner <owner>stringrequiredThe staging repository's owner, a user or organisation.
--staging-repo <repo>stringrequiredThe staging repository's name.
--staging-branch <branch>stringrequiredThe branch to push to.
--production-owner <owner>stringrequiredThe production repository's owner.
--production-repo <repo>stringrequiredThe production repository's name.
--production-branch <branch>stringrequiredThe branch releases go to.
Examples
List repositories
bash
octri sdk reposOutput
✔ Loading SDK repos
SDK repositories
No per-language repositories linked.Set up the Go repositories
bash
octri sdk repos init go \
--staging-owner acme --staging-repo acme-go-staging --staging-branch main \
--production-owner acme --production-repo acme-go --production-branch mainRelated
octri sdk publish: Publish a build's packages to npm, PyPI and the other registries.octri github status: Show the connected repository, branch, spec path and when it last synced.