Skip to content

feat(cli): improve help, resource lists and operation feedback - #29

Merged
Tynwink2000 merged 1 commit into
mainfrom
feat/cli-user-experience
Nov 11, 2026
Merged

Tynwink2000 merged 1 commit into
mainfrom
feat/cli-user-experience

Conversation

@Tynwink2000

@Tynwink2000 Tynwink2000 commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Users currently need to scan a flat help list, interpret raw operation states, and manually reconstruct commands after errors. This change makes existing commands easier to navigate and their results easier to act on, while preserving explicit JSON/YAML output for agents.

  • Group help by purpose, show applicable/required options and common examples, and complete saved contexts and static enums offline.
  • Show the selected configuration and credential availability; allow context show without a name and provide next-step commands that retain connection options.
  • Put resource names and status first, preserve full IDs, handle narrow terminals, and add client-side name/ID filtering with --filter.
  • Clarify preflight, submitted/completed tasks and partial verification; add terminal-only waiting feedback and an offline schema --summary index with command-group lookup.

The change updates 12 existing files, adds no source files or dependencies, and increases the stripped Windows binary by 71.5 KiB (0.65%). English and Chinese READMEs describe the resulting behavior. Local before/after review material is excluded.

Validation

  • go test ./... and go vet ./... passed on the current implementation.
  • Exercised the CLI against the existing Docker-hosted Core v4.10.11 instance: all nine resource lists retained identical JSON data without filtering; checked filtering, Bot update dry-run, completion and context operations using a temporary configuration.
  • Replayed submitted/completed tasks, hidden-field verification and long-name output through the actual renderers without changing live resources.
  • git diff --check passed.

Dependency and merge order

#28 has been merged into main. This PR now targets main and contains only the 12-file user-experience change.

@Tynwink2000
Tynwink2000 changed the base branch from feat/multi-deployment-discovery to main November 11, 2026 17:47
@Tynwink2000
Tynwink2000 merged commit 6ba42d2 into main Nov 11, 2026
8 checks passed
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.

1 participant