Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

feat: surface preview and deprecated APIs in help

Open
#637 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@onatozmenn is already working on this.

Since Sep 28, 2026.

  • #692 by @onatozmenn — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
cli

Research direction

Start by reading ARCHITECTURE.md and locating the CLI entry points for --help, --help --json, and --command-profile. Trace how x-deprecated and x-availability are retained on schemas and how command invocation is dispatched. Done means deprecated commands are marked in both help formats, invocation emits a one-line stderr warning while still running, and help itself emits no warning.

Written by the indexing model from the issue text.

Description

enhancement

We keep x-deprecated / x-availability on schemas and do not show them (ARCHITECTURE.md). The whole CLI is tech preview, but some generated endpoints are already deprecated upstream.

  • Mark deprecated flags/commands in --help (and --help --json)
  • Emit a one-line stderr warning when a deprecated command runs (not when --help runs)
  • Optional: prefix preview-only namespaces when --command-profile hides the rest

Do not hide deprecated commands before 1.0; warn only.

Acceptance: a deprecated command's --help says deprecated. Invoking it prints a warning on stderr and still runs.

Dominant language
TypeScript
Stars
47
Forks
27
Avg merge
2d 6h
Merged PRs (30d)
52

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from elastic/cli

All issues in elastic/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.