Skip to content

[feat] Real Time Command Usage Hint in the terminal #36

Open
@shubhdevelop

Description

@shubhdevelop

I would like to request a feature for displaying real-time command usage hints while typing in the terminal. This feature would provide users with helpful information about command options and arguments as they type.
Feature Details:

users type a command, the terminal should display relevant command options, flags, or argumen in real-time.
offering quick guidance on how to properly use a command without needing to manually look up documentation.

Example

A user begins typing:

$ myShell: **SET**  

we should hint users with the usage syntax inline like this

$ myShell: **SET**  [[value [NX | XX] [EX seconds | PX milliseconds | EXAT unix-time-seconds | PXAT unix-time-milliseconds | KEEPTTL]',]]

Note:
[[string]] : depicts hints

Benefits:

  • Greatly enhances productivity and ease of use, especially for complex commands with many options.
  • Reduces the need for users to refer to --help or external documentation, making the command-line experience more efficient and user-friendly.
  • Helps users avoid common mistakes by showing the correct syntax and options in real-time.

This request aims to provide an intuitive experience for users, reducing the friction of using unfamiliar or complex commands.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions