parseablehq / pb

CLI client for Parseable server. Inspect, query and analyse Parseable log data from your terminal.
https://parseable.com
GNU Affero General Public License v3.0
15 stars 8 forks source link

Add Autocomplete Feature to pb CLI #41

Closed git-pi-e closed 4 months ago

git-pi-e commented 4 months ago

Title: Add Autocomplete Feature to pb CLI

Description:

This PR introduces an autocomplete feature for the CLI application to enhance user experience by providing command and flag suggestions. This change aims to make the CLI easier to use, especially for new users.

Changes:

How to Test:

  1. Build the CLI application using make build.
  2. Install the CLI using make install.
  3. Verify the autocomplete setup by running the CLI and typing commands with double tab to see if suggestions appear.
  4. Test in different shells:
    • Bash: source /etc/bash_completion.d/pb
    • Zsh: source /usr/local/share/zsh/site-functions/_pb
    • PowerShell: . $env:USERPROFILE\Documents\PowerShell\pb_complete.ps1
github-actions[bot] commented 4 months ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

git-pi-e commented 4 months ago

I have read the CLA Document and I hereby sign the CLA