Kong / Kong/kongctl

Feat: Add Create and Update capabilities to TUI

Open
#369 2 comments 0 reactions 0 assignees View on GitHub
enhancement triaged
Dominant language
Go
Stars
17
Forks
24
Avg merge
8h 13m
Merged PRs (30d)
196

Description

Introduce the ability to create or update resources in a TUI schema driven form. We have the existing TUI which is organized by resource types. We could provide a keyboard shortcut to launch a form which is driven by the schema of a resource type, allowing users to quickly enter values and press 'Enter' to submit a Create request. Same for updating an existing resource when one is highlighted and selected, we could present a schema driven form to update the values and submit on 'Enter'.

Right now the tui is launced with `kongctl view` implying a readonly view. We might want to introduce instead `kongctl explore` or `kongctl manage`. We could add a `read-only` mode to the TUI and set that view the existing `view` command (YMMV).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the existing TUI launched with `kongctl view` and how it is organized by resource types. The issue does not name implementation files or tests; clarify the schema-driven form, keyboard shortcuts, command naming, read-only behavior, and create/update completion criteria before coding.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.