CLICommand referencegithubrepo github repo
Commands, arguments, and options for openship github repo.
See the workflow guide for examples. Global flags such as --json go before the command; see global options.
Browse and manage repositories available to this connection
openship github repo [options] [command]
List branches and whether another page is available
openship github repo branches [options] <repository>
| Argument | Meaning |
|---|
repository | owner/repo |
| Option | Meaning |
|---|
--page <number> | Page number |
Print a short-lived clone credential; output contains a secret
openship github repo clone-token [options] <repository>
| Argument | Meaning |
|---|
repository | owner/repo |
Create a GitHub repository
openship github repo create [options] <name>
| Argument | Meaning |
|---|
name | Repository name |
| Option | Meaning |
|---|
--owner <name> | GitHub owner or organization |
--description <text> | Repository description |
--public | Create a public repository (default: private) |
Detect stack, build configuration and Compose services
openship github repo detect [options] <repository>
| Argument | Meaning |
|---|
repository | owner/repo |
| Option | Meaning |
|---|
--branch <name> | Branch to inspect |
--compose-path <path> | Compose file to inspect |
Read a repository file and its revision
openship github repo file [options] <repository> <path>
| Argument | Meaning |
|---|
repository | owner/repo |
path | File path |
| Option | Meaning |
|---|
--branch <name> | Branch |
List files at a repository path
openship github repo files [options] <repository>
| Argument | Meaning |
|---|
repository | owner/repo |
| Option | Meaning |
|---|
--branch <name> | Branch |
--path <path> | Directory or file path |
Inspect a repository
openship github repo get [options] <repository>
| Argument | Meaning |
|---|
repository | owner/repo |
| Option | Meaning |
|---|
--branches | Include the first branch page |
List repositories with explicit pagination and filters
openship github repo list [options]
| Option | Meaning |
|---|
--owner <name> | Repository owner filter |
--org <name> | List this GitHub organization's repositories |
--page <number> | Page number |
--per-page <number> | Page size |
--search <text> | Repository search |
--visibility <type> | Visibility filter (choices: "all", "public", "private") |
--sort <field> | Sort order (choices: "updated", "name", "stars") |
Permanently delete a GitHub repository
openship github repo remove [options] <repository>
| Argument | Meaning |
|---|
repository | owner/repo |
| Option | Meaning |
|---|
-y, --yes | Confirm deletion on GitHub |
List the repository tree
openship github repo tree [options] <repository>
| Argument | Meaning |
|---|
repository | owner/repo |
| Option | Meaning |
|---|
--branch <name> | Branch |
Manage Openship deployment webhooks on a GitHub repository
openship github repo webhook [options] [command]
list repository webhooks
openship github repo webhook list [options] <repository>
| Argument | Meaning |
|---|
repository | owner/repo |
register repository webhooks
openship github repo webhook register [options] <repository>
| Argument | Meaning |
|---|
repository | owner/repo |
Delete a repository webhook
openship github repo webhook remove [options] <repository> <hook>
| Argument | Meaning |
|---|
repository | owner/repo |
hook | Webhook ID |
| Option | Meaning |
|---|
-y, --yes | Confirm webhook removal |