Skip to content

Add config update command for rename/description - #43

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

Add config update command for rename/description#43
padak merged 1 commit into
mainfrom
fix/config-update-command

Conversation

@padak

@padak padak commented Mar 24, 2026

Copy link
Copy Markdown
Member

Summary

Resolves #37

New command: kbagent config update --project ALIAS --component-id ID --config-id ID [--name NAME] [--description DESC] [--branch ID]

  • Rename configurations and/or update descriptions
  • Targets active dev branch by default, --branch to override
  • Validates that at least --name or --description is provided
  • Uses existing client.update_config() (added in sync Phase 2)

Usage

# Rename a config
kbagent --json config update --project prod \
  --component-id keboola.python-transformation-v2 \
  --config-id 1248470031 --name "New Name"

# Update description only
kbagent --json config update --project prod \
  --component-id keboola.ex-http --config-id 67890 \
  --description "Updated description"

# Both + specific branch
kbagent --json config update --project prod \
  --component-id keboola.ex-http --config-id 67890 \
  --name "Renamed" --description "New desc" --branch 456

Note

MCP server already has update_config tool, but a native CLI command is simpler for scripting/CI and avoids MCP subprocess overhead.

Test plan

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

Resolves #37. New command:
  kbagent config update --project ALIAS --component-id ID --config-id ID
    [--name NEW_NAME] [--description NEW_DESC] [--branch ID]

Supports active dev branch by default. At least --name or --description
must be provided. Uses existing client.update_config() method.
@padak
padak merged commit a041463 into main Mar 24, 2026
1 check passed
@padak
padak deleted the fix/config-update-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 rename/update command

1 participant