Back to Docs/Repos & Templates

Repos & Templates

Create repos, copy templates, and push code.

Repos & Templates

Create an internal repo

bash
openpond repo create --name my-repo --path .

Notes:

  • --path can point to an existing folder; the CLI will confirm if it is not empty.
  • --empty creates an app with no files (default).
  • --opentool creates the repo with an OpenTool starter committed server-side.
  • --deploy-on-push enables deploys on every push.
  • --token enables non-interactive git pushes.

Create from a template (copy openpondai)

bash
openpond repo create --name my-repo --path . --template openpondai/signal-bot --template-branch master

Add env vars on create

bash
openpond repo create --name my-repo --path . --template openpondai/signal-bot --template-branch master --env '{"OPENTOOL_PUBLIC_HL_SIGNAL_BOT_CONFIG":"{...json...}"}'

Push code

bash
git add . && git commit -m "init" openpond repo push --path . --branch master

openpond repo push temporarily switches the origin remote to a tokenized HTTPS URL, pushes, then restores it.