List of all commands

Each Cogite command looks like cogite <group> <action>, e.g. cogite pr merge. All commands are listed below:

cogite auth

Cogite uses the HTTP API of the Git host to perform some actions. As such, it needs to be authenticated against each host in the first place.

cogite auth add

FIXME

Usage:

usage: cogite auth add [-h]

optional arguments:
  -h, --help  show this help message and exit

If you have authorized the Cogite application on GitHub, you can see the permissions that you granted to Cogite on this settings page.

cogite auth delete

This command deletes the authentication token that has been set up for the Git host of the current Git checkout.

Usage:

usage: cogite auth delete [-h]

optional arguments:
  -h, --help  show this help message and exit

cogite ci

All commands of this group relate to continuous integration (CI) systems, e.g. tests run by CircleCi, GitHub Actions, Jenkins, etc.

cogite ci browse

FIXME

cogite pr

All commands of this group relate to pull requests and expect that an open pull request exists, except cogite pr add.

cogite pr add

FIXME

cogite pr browse

FIXME

cogite pr draft

An alias for cogite pr add --draft. It accepts the same arguments.

Usage:

usage: cogite pr draft [-h] [--base BASE_BRANCH]

optional arguments:
  -h, --help          show this help message and exit
  --base BASE_BRANCH  branch where changes should be applied. Defaults to the
                      master branch.

cogite pr merge

FIXME

cogite pr ready

FIXME

cogite pr rebase

FIXME

cogite pr reqreview

Ask others to review the current pull request.

Usage:

usage: cogite pr reqreview [-h]

optional arguments:
  -h, --help  show this help message and exit

cogite status

This is special group that has only one command: cogite status. Because rules must be broken, sometimes. Sorry.

Usage:

usage: cogite status [-h] [-p]

optional arguments:
  -h, --help  show this help message and exit
  -p, --poll  If set, regularly poll CI host until the job is complete.