Skip to content

SP-38: Add new CLI commands for singe node operations#344

Open
Buqeta (Buqeta) wants to merge 1 commit intomainfrom
SP-38-add-new-cli-commands-for-single-node-operations
Open

SP-38: Add new CLI commands for singe node operations#344
Buqeta (Buqeta) wants to merge 1 commit intomainfrom
SP-38-add-new-cli-commands-for-single-node-operations

Conversation

@Buqeta
Copy link
Copy Markdown
Contributor

@Buqeta Buqeta (Buqeta) commented Apr 21, 2026

Description

Adds new CLI commands for single-node operations against the Pacman public API:

  • config nodes create --packageKey ... [--body <json> | -f <file>] [--validate] [--json] — creates a staging node. --validate calls the validate-only endpoint (no persistence) and exits with a success log if the payload is valid; otherwise fails.
  • config nodes update --packageKey ... --nodeKey ... [--body <json> | -f <file>] [--validate] [--json] — updates a staging node. --validate behaves the same as above.
  • config nodes delete --packageKey ... --nodeKey ... [--force] — archives a staging node.

Payload can be provided either inline via --body or from a file via -f/--file (mutually exclusive; one is required for create/update).

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

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
58.3% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@Buqeta Buqeta (Buqeta) marked this pull request as ready for review April 21, 2026 12:37
@Buqeta Buqeta (Buqeta) requested a review from a team as a code owner April 21, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant