An open API service indexing awesome lists of open source software.

https://github.com/heroku/heroku-repo

Plugin for heroku CLI that can manipulate the repo
https://github.com/heroku/heroku-repo

heroku heroku-cli-plugin

Last synced: 2 months ago
JSON representation

Plugin for heroku CLI that can manipulate the repo

Awesome Lists containing this project

README

        

@heroku-cli/plugin-heroku-repo
==============================

Heroku Repo CLI Plugin

* [Usage](#usage)
* [Commands](#commands)

# Usage
```sh-session
$ heroku plugins:install @heroku-cli/plugin-heroku-repo
$ heroku repo:COMMAND
running command...
$ heroku repo --help [COMMAND]
USAGE
$ heroku repo:COMMAND
...
```

# Commands

* [`heroku repo:clone`](#heroku-repoclone)
* [`heroku repo:download [FILENAME]`](#heroku-repodownload-filename)
* [`heroku repo:gc`](#heroku-repogc)
* [`heroku repo:purge_cache`](#heroku-repopurge_cache)
* [`heroku repo:purge-cache`](#heroku-repopurge-cache)
* [`heroku repo:reset`](#heroku-reporeset)

## `heroku repo:clone`

clone the application repo to your local filesystem

```
USAGE
$ heroku repo:clone -a [-r ]

FLAGS
-a, --app= (required) app to run command against
-r, --remote= the git remote to use

DESCRIPTION
clone the application repo to your local filesystem
```

_See code: [src/commands/repo/clone.ts](https://github.com/heroku/heroku-repo/blob/v2.0.0/src/commands/repo/clone.ts)_

## `heroku repo:download [FILENAME]`

download the application repo as a tarball

```
USAGE
$ heroku repo:download [FILENAME] -a [-r ]

ARGUMENTS
FILENAME a filename for the tarball

FLAGS
-a, --app= (required) app to run command against
-r, --remote= the git remote to use

DESCRIPTION
download the application repo as a tarball
```

_See code: [src/commands/repo/download.ts](https://github.com/heroku/heroku-repo/blob/v2.0.0/src/commands/repo/download.ts)_

## `heroku repo:gc`

run a git gc --aggressive on an application's repository

```
USAGE
$ heroku repo:gc -a [-r ]

FLAGS
-a, --app= (required) app to run command against
-r, --remote= the git remote to use

DESCRIPTION
run a git gc --aggressive on an application's repository
```

_See code: [src/commands/repo/gc.ts](https://github.com/heroku/heroku-repo/blob/v2.0.0/src/commands/repo/gc.ts)_

## `heroku repo:purge_cache`

delete the contents of the build cache in the repository

```
USAGE
$ heroku repo:purge_cache -a [-r ]

FLAGS
-a, --app= (required) app to run command against
-r, --remote= the git remote to use

DESCRIPTION
delete the contents of the build cache in the repository

ALIASES
$ heroku repo:purge_cache
```

## `heroku repo:purge-cache`

delete the contents of the build cache in the repository

```
USAGE
$ heroku repo:purge-cache -a [-r ]

FLAGS
-a, --app= (required) app to run command against
-r, --remote= the git remote to use

DESCRIPTION
delete the contents of the build cache in the repository

ALIASES
$ heroku repo:purge_cache
```

_See code: [src/commands/repo/purge-cache.ts](https://github.com/heroku/heroku-repo/blob/v2.0.0/src/commands/repo/purge-cache.ts)_

## `heroku repo:reset`

reset the repo

```
USAGE
$ heroku repo:reset -a [-r ]

FLAGS
-a, --app= (required) app to run command against
-r, --remote= the git remote to use

DESCRIPTION
reset the repo
```

_See code: [src/commands/repo/reset.ts](https://github.com/heroku/heroku-repo/blob/v2.0.0/src/commands/repo/reset.ts)_