Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add auto-completion of saved requests to commands like run and inspect #15

Open
talis-fb opened this issue Feb 16, 2024 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers 🦑 Large

Comments

@talis-fb
Copy link
Owner

talis-fb commented Feb 16, 2024

Enable auto-completion with saved requests. For commands such as run and inspect, when a user types , the system should complete with the names of saved requests.

That way, if user has a lot of saved request, the use of them turn easy.

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 NAME of all FILES in {DATA_FOLDER}/collections/. For linux the folder is $HOME/.local/share/treq/collections/.

@talis-fb talis-fb changed the title Enable auto-completion with saved requests. For commands such as run and inspect, when a user types , the system should complete with the names of saved requests. Add auto-completion with saved requests for commands like run and inspect Feb 16, 2024
@talis-fb talis-fb added enhancement New feature or request 🦑 Large good first issue Good for newcomers labels Feb 16, 2024
@talis-fb talis-fb changed the title Add auto-completion with saved requests for commands like run and inspect Add auto-completion of saved requests to commands like run and inspect Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers 🦑 Large
Projects
Status: No status
Development

No branches or pull requests

1 participant