UNPKG

5.46 kBMarkdownView Raw
1@heroku-cli/plugin-buildpacks
2=============================
3
4
5
6[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
7[![Version](https://img.shields.io/npm/v/@heroku-cli/plugin-buildpacks.svg)](https://npmjs.org/package/@heroku-cli/plugin-buildpacks)
8
9[![CircleCI](https://circleci.com/gh/heroku/cli/tree/master.svg?style=shield)](https://circleci.com/gh/heroku/cli/tree/master)
10
11[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/heroku/cli?branch=master&svg=true)](https://ci.appveyor.com/project/heroku/cli/branch/master)
12[![Codecov](https://codecov.io/gh/heroku/cli/branch/master/graph/badge.svg)](https://codecov.io/gh/heroku/cli)
13[![Downloads/week](https://img.shields.io/npm/dw/@heroku-cli/plugin-buildpacks.svg)](https://npmjs.org/package/@heroku-cli/plugin-buildpacks)
14[![License](https://img.shields.io/npm/l/@heroku-cli/plugin-buildpacks.svg)](https://github.com/heroku/cli/blob/master/package.json)
15
16<!-- toc -->
17* [Usage](#usage)
18* [Commands](#commands)
19<!-- tocstop -->
20# Usage
21<!-- usage -->
22```sh-session
23$ npm install -g @heroku-cli/plugin-buildpacks
24$ heroku COMMAND
25running command...
26$ heroku (-v|--version|version)
27@heroku-cli/plugin-buildpacks/7.21.0 darwin-x64 node-v11.9.0
28$ heroku --help [COMMAND]
29USAGE
30 $ heroku COMMAND
31...
32```
33<!-- usagestop -->
34# Commands
35<!-- commands -->
36* [`heroku buildpacks`](#heroku-buildpacks)
37* [`heroku buildpacks:add BUILDPACK`](#heroku-buildpacksadd-buildpack)
38* [`heroku buildpacks:clear`](#heroku-buildpacksclear)
39* [`heroku buildpacks:info BUILDPACK`](#heroku-buildpacksinfo-buildpack)
40* [`heroku buildpacks:remove [BUILDPACK]`](#heroku-buildpacksremove-buildpack)
41* [`heroku buildpacks:search [TERM]`](#heroku-buildpackssearch-term)
42* [`heroku buildpacks:set BUILDPACK`](#heroku-buildpacksset-buildpack)
43* [`heroku buildpacks:versions BUILDPACK`](#heroku-buildpacksversions-buildpack)
44
45## `heroku buildpacks`
46
47display the buildpacks for an app
48
49```
50USAGE
51 $ heroku buildpacks
52
53OPTIONS
54 -a, --app=app (required) app to run command against
55 -r, --remote=remote git remote of app to use
56```
57
58_See code: [src/commands/buildpacks/index.ts](https://github.com/heroku/cli/blob/v7.21.0/packages/buildpacks/src/commands/buildpacks/index.ts)_
59
60## `heroku buildpacks:add BUILDPACK`
61
62add new app buildpack, inserting into list of buildpacks if necessary
63
64```
65USAGE
66 $ heroku buildpacks:add BUILDPACK
67
68ARGUMENTS
69 BUILDPACK namespace/name of the buildpack
70
71OPTIONS
72 -a, --app=app (required) app to run command against
73 -i, --index=index the 1-based index of the URL in the list of URLs
74 -r, --remote=remote git remote of app to use
75```
76
77_See code: [src/commands/buildpacks/add.ts](https://github.com/heroku/cli/blob/v7.21.0/packages/buildpacks/src/commands/buildpacks/add.ts)_
78
79## `heroku buildpacks:clear`
80
81clear all buildpacks set on the app
82
83```
84USAGE
85 $ heroku buildpacks:clear
86
87OPTIONS
88 -a, --app=app (required) app to run command against
89 -r, --remote=remote git remote of app to use
90```
91
92_See code: [src/commands/buildpacks/clear.ts](https://github.com/heroku/cli/blob/v7.21.0/packages/buildpacks/src/commands/buildpacks/clear.ts)_
93
94## `heroku buildpacks:info BUILDPACK`
95
96fetch info about a buildpack
97
98```
99USAGE
100 $ heroku buildpacks:info BUILDPACK
101
102ARGUMENTS
103 BUILDPACK namespace/name of the buildpack
104```
105
106_See code: [src/commands/buildpacks/info.ts](https://github.com/heroku/cli/blob/v7.21.0/packages/buildpacks/src/commands/buildpacks/info.ts)_
107
108## `heroku buildpacks:remove [BUILDPACK]`
109
110remove a buildpack set on the app
111
112```
113USAGE
114 $ heroku buildpacks:remove [BUILDPACK]
115
116ARGUMENTS
117 BUILDPACK namespace/name of the buildpack
118
119OPTIONS
120 -a, --app=app (required) app to run command against
121 -i, --index=index the 1-based index of the URL to remove from the list of URLs
122 -r, --remote=remote git remote of app to use
123```
124
125_See code: [src/commands/buildpacks/remove.ts](https://github.com/heroku/cli/blob/v7.21.0/packages/buildpacks/src/commands/buildpacks/remove.ts)_
126
127## `heroku buildpacks:search [TERM]`
128
129search for buildpacks
130
131```
132USAGE
133 $ heroku buildpacks:search [TERM]
134
135ARGUMENTS
136 TERM search term that searches across name, namespace, and description
137
138OPTIONS
139 --description=description buildpack description to filter on
140 --name=name buildpack names to filter on using a comma separated list
141 --namespace=namespace buildpack namespaces to filter on using a comma separated list
142```
143
144_See code: [src/commands/buildpacks/search.ts](https://github.com/heroku/cli/blob/v7.21.0/packages/buildpacks/src/commands/buildpacks/search.ts)_
145
146## `heroku buildpacks:set BUILDPACK`
147
148```
149USAGE
150 $ heroku buildpacks:set BUILDPACK
151
152ARGUMENTS
153 BUILDPACK namespace/name of the buildpack
154
155OPTIONS
156 -a, --app=app (required) app to run command against
157 -i, --index=index the 1-based index of the URL in the list of URLs
158 -r, --remote=remote git remote of app to use
159```
160
161_See code: [src/commands/buildpacks/set.ts](https://github.com/heroku/cli/blob/v7.21.0/packages/buildpacks/src/commands/buildpacks/set.ts)_
162
163## `heroku buildpacks:versions BUILDPACK`
164
165list versions of a buildpack
166
167```
168USAGE
169 $ heroku buildpacks:versions BUILDPACK
170
171ARGUMENTS
172 BUILDPACK namespace/name of the buildpack
173```
174
175_See code: [src/commands/buildpacks/versions.ts](https://github.com/heroku/cli/blob/v7.21.0/packages/buildpacks/src/commands/buildpacks/versions.ts)_
176<!-- commandsstop -->