Skip to content

SP-873: Add single package export command#378

Open
Zgjim Haziri (ZgjimHaziri) wants to merge 1 commit into
mainfrom
SP-873-single-package-export
Open

SP-873: Add single package export command#378
Zgjim Haziri (ZgjimHaziri) wants to merge 1 commit into
mainfrom
SP-873-single-package-export

Conversation

@ZgjimHaziri

@ZgjimHaziri Zgjim Haziri (ZgjimHaziri) commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Description

Adds config package export, the counterpart of config package import, backed by the new single-package export API (pacman#1997, SP-872).

It exports a package's staging (draft) version in the plain package format (package.json, an optional variables.json, and a nodes/ folder) — the same format config package import consumes, so a package round-trips between teams without conversion. Unlike t2tc package export, it handles exactly one package and does not produce a batch artifact.

  • Default: exports the package unzipped into a <packageKey> directory in the current working directory.
  • --zip: exports it as a single <packageKey>.zip file instead.

Depends on the export API (pacman#1997) being merged and deployed.

Relevant links

Checklist

  • I have self-reviewed this PR
  • I have tested the change and proved that it works in different scenarios
  • I have updated docs if needed

Made with Cursor

Add `config package export`, the counterpart of `config package import`,
backed by the new single-package export API (pacman#1997). Exports a
package's staging (draft) version in the package format: unzipped into a
<packageKey> directory by default, or as a <packageKey>.zip file with --zip.
Output is written to the current working directory.

Includes-AI-Code: true
Co-authored-by: Cursor <cursoragent@cursor.com>
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants