CLICommand referencegithubrepo
See the workflow guide for examples. Global flags such as --json go before the command; see global options.
openship github repo
Browse and manage repositories available to this connection
openship github repo [options] [command]| Subcommand | Purpose |
|---|---|
list [options] | List repositories with explicit pagination and filters |
get [options] <repository> | Inspect a repository |
create [options] <name> | Create a GitHub repository |
remove [options] <repository> | Permanently delete a GitHub repository |
branches [options] <repository> | List branches and whether another page is available |
clone-token <repository> | Print a short-lived clone credential; output contains a secret |
detect [options] <repository> | Detect stack, build configuration and Compose services |
files [options] <repository> | List files at a repository path |
tree [options] <repository> | List the repository tree |
file [options] <repository> <path> | Read a repository file and its revision |
webhook | Manage Openship deployment webhooks on a GitHub repository |
openship github repo branches
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 |
openship github repo clone-token
Print a short-lived clone credential; output contains a secret
openship github repo clone-token [options] <repository>| Argument | Meaning |
|---|---|
repository | owner/repo |
openship github repo create
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) |
openship github repo detect
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 |
openship github repo file
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 |
openship github repo files
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 |
openship github repo get
Inspect a repository
openship github repo get [options] <repository>| Argument | Meaning |
|---|---|
repository | owner/repo |
| Option | Meaning |
|---|---|
--branches | Include the first branch page |
openship github repo list
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") |
openship github repo remove
Permanently delete a GitHub repository
openship github repo remove [options] <repository>| Argument | Meaning |
|---|---|
repository | owner/repo |
| Option | Meaning |
|---|---|
-y, --yes | Confirm deletion on GitHub |
openship github repo tree
List the repository tree
openship github repo tree [options] <repository>| Argument | Meaning |
|---|---|
repository | owner/repo |
| Option | Meaning |
|---|---|
--branch <name> | Branch |
openship github repo webhook
Manage Openship deployment webhooks on a GitHub repository
openship github repo webhook [options] [command]| Subcommand | Purpose |
|---|---|
list <repository> | list repository webhooks |
register <repository> | register repository webhooks |
remove [options] <repository> <hook> | Delete a repository webhook |
openship github repo webhook list
list repository webhooks
openship github repo webhook list [options] <repository>| Argument | Meaning |
|---|---|
repository | owner/repo |
openship github repo webhook register
register repository webhooks
openship github repo webhook register [options] <repository>| Argument | Meaning |
|---|---|
repository | owner/repo |
openship github repo webhook remove
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 |