CLICommand referencegit
See the workflow guide for examples. Global flags such as --json go before the command; see global options.
openship git
Browse and update sources through a connected Git provider
openship git [options] [command]| Subcommand | Purpose |
|---|---|
repos [options] [file] | List accessible repositories, with provider, namespace and pagination |
repo [options] [file] | Inspect repository metadata |
branches [options] [file] | List repository branches |
files [options] [file] | List files within permitted source paths |
tree [options] [file] | Read the permitted repository tree |
file [options] [file] | Read one permitted source file |
detect [options] [file] | Detect build configuration without exposing source contents |
publish [options] [file] | Publish a reviewed source patch |
openship git branches
List repository branches
openship git branches [options] [file]| Argument | Meaning |
|---|---|
file | JSON input file, or - for stdin |
| Option | Meaning |
|---|---|
--schema | Print the accepted JSON schema without making a request |
openship git detect
Detect build configuration without exposing source contents
openship git detect [options] [file]| Argument | Meaning |
|---|---|
file | JSON input file, or - for stdin |
| Option | Meaning |
|---|---|
--schema | Print the accepted JSON schema without making a request |
openship git file
Read one permitted source file
openship git file [options] [file]| Argument | Meaning |
|---|---|
file | JSON input file, or - for stdin |
| Option | Meaning |
|---|---|
--schema | Print the accepted JSON schema without making a request |
openship git files
List files within permitted source paths
openship git files [options] [file]| Argument | Meaning |
|---|---|
file | JSON input file, or - for stdin |
| Option | Meaning |
|---|---|
--schema | Print the accepted JSON schema without making a request |
openship git publish
Publish a reviewed source patch
openship git publish [options] [file]| Argument | Meaning |
|---|---|
file | JSON input file, or - for stdin |
| Option | Meaning |
|---|---|
--schema | Print the accepted JSON schema without making a request |
-y, --yes | Confirm this operation |
openship git repo
Inspect repository metadata
openship git repo [options] [file]| Argument | Meaning |
|---|---|
file | JSON input file, or - for stdin |
| Option | Meaning |
|---|---|
--schema | Print the accepted JSON schema without making a request |
openship git repos
List accessible repositories, with provider, namespace and pagination
openship git repos [options] [file]| Argument | Meaning |
|---|---|
file | JSON input file, or - for stdin |
| Option | Meaning |
|---|---|
--schema | Print the accepted JSON schema without making a request |
openship git tree
Read the permitted repository tree
openship git tree [options] [file]| Argument | Meaning |
|---|---|
file | JSON input file, or - for stdin |
| Option | Meaning |
|---|---|
--schema | Print the accepted JSON schema without making a request |