talis-fb / TReq

A CLI tool for effortless HTTP requests
GNU General Public License v3.0
50 stars 3 forks source link

Add Auto Complete for subcommand and flags #2

Open talis-fb opened 7 months ago

talis-fb commented 7 months ago

Description

To elevate the user experience, the proposal is to introduce an auto-complete feature

At present, the system lacks inherent auto-completion functionality. This addition aims to assist users in seamlessly completing commands, thereby improving their interaction with the software, reducing the likelihood of errors, and enhancing overall efficiency.

Expected Behavior

Possible Solution/Implementation

Since the project utilizes Clap for managing the CLI interface, the proposed solution involves configuring or extending its features. Auto-completing saved requests can be achieved by reading the names of all files in {DATA_FOLDER}/collections/.