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.

openship github repo

Browse and manage repositories available to this connection

openship github repo [options] [command]
SubcommandPurpose
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
webhookManage 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>
ArgumentMeaning
repositoryowner/repo
OptionMeaning
--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>
ArgumentMeaning
repositoryowner/repo

openship github repo create

Create a GitHub repository

openship github repo create [options] <name>
ArgumentMeaning
nameRepository name
OptionMeaning
--owner <name>GitHub owner or organization
--description <text>Repository description
--publicCreate a public repository (default: private)

openship github repo detect

Detect stack, build configuration and Compose services

openship github repo detect [options] <repository>
ArgumentMeaning
repositoryowner/repo
OptionMeaning
--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>
ArgumentMeaning
repositoryowner/repo
pathFile path
OptionMeaning
--branch <name>Branch

openship github repo files

List files at a repository path

openship github repo files [options] <repository>
ArgumentMeaning
repositoryowner/repo
OptionMeaning
--branch <name>Branch
--path <path>Directory or file path

openship github repo get

Inspect a repository

openship github repo get [options] <repository>
ArgumentMeaning
repositoryowner/repo
OptionMeaning
--branchesInclude the first branch page

openship github repo list

List repositories with explicit pagination and filters

openship github repo list [options]
OptionMeaning
--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>
ArgumentMeaning
repositoryowner/repo
OptionMeaning
-y, --yesConfirm deletion on GitHub

openship github repo tree

List the repository tree

openship github repo tree [options] <repository>
ArgumentMeaning
repositoryowner/repo
OptionMeaning
--branch <name>Branch

openship github repo webhook

Manage Openship deployment webhooks on a GitHub repository

openship github repo webhook [options] [command]
SubcommandPurpose
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>
ArgumentMeaning
repositoryowner/repo

openship github repo webhook register

register repository webhooks

openship github repo webhook register [options] <repository>
ArgumentMeaning
repositoryowner/repo

openship github repo webhook remove

Delete a repository webhook

openship github repo webhook remove [options] <repository> <hook>
ArgumentMeaning
repositoryowner/repo
hookWebhook ID
OptionMeaning
-y, --yesConfirm webhook removal

On this page