Skip to content

Add config delete command with branch support - #42

Merged
padak merged 1 commit into
mainfrom
fix/config-delete-command
Mar 24, 2026
Merged

Add config delete command with branch support#42
padak merged 1 commit into
mainfrom
fix/config-delete-command

Conversation

@padak

@padak padak commented Mar 24, 2026

Copy link
Copy Markdown
Member

Summary

Resolves #38

New command: kbagent config delete --project ALIAS --component-id ID --config-id ID [--branch ID]

  • Targets active dev branch by default (set via branch use)
  • Use --branch to override with specific branch ID
  • Deleting in a branch marks config as removed without affecting Main
  • Uses existing KeboolaClient.delete_config() (branch-aware)

Usage

# Delete from main (or active branch)
kbagent --json config delete --project prod --component-id keboola.python-transformation-v2 --config-id 1239541872

# Delete from specific branch
kbagent --json config delete --project prod --component-id keboola.ex-http --config-id 67890 --branch 456

Test plan

  • kbagent config delete --help shows all options
  • All 1045 tests pass, lint clean
  • Context and SKILL.md updated

Resolves #38. New command:
  kbagent config delete --project ALIAS --component-id ID --config-id ID [--branch ID]

Targets active dev branch by default. Use --branch to override.
Deleting in a branch marks config as removed without affecting Main.
@padak
padak merged commit ca9c434 into main Mar 24, 2026
1 check passed
@padak
padak deleted the fix/config-delete-command branch March 26, 2026 11:44
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.

config: missing delete command (especially with branch support)

1 participant