Skip to content

pack should support pack extension new #1636

@natalieparellano

Description

@natalieparellano

Description

This is a sub-task of #1470

Just like scaffold new buildpacks, we should be able to scaffold new extensions

Proposed solution

The command should work just like pack buildpack new, but with extensions:

Usage:
  pack buildpack new <id> [flags]

Examples:
pack buildpack new sample/my-buildpack

Flags:
  -a, --api string       Buildpack API compatibility of the generated buildpack (default "0.8")
  -h, --help             Help for 'new'
  -p, --path string      Path to generate the buildpack
  -s, --stacks strings   Stack(s) this buildpack will be compatible with
                         Repeat for each stack in order, or supply once by comma-separated list (default [io.buildpacks.stacks.bionic])
  -V, --version string   Version of the generated buildpack (default "1.0.0")

Additional context

  • This feature should be documented somewhere

Metadata

Metadata

Labels

good first issueA good first issue to get started with.help wantedNeed some extra hands to get this done.status/blockedIssue or PR that is blocked. See comments.type/enhancementIssue that requests a new feature or improvement.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions