pplx-cli icon indicating copy to clipboard operation
pplx-cli copied to clipboard

TypeError: Secondary flag is not valid for non-boolean flag

Open Roderick111 opened this issue 11 months ago • 3 comments

The pplx-cli tool fails to run any command with the following error:

TypeError: Secondary flag is not valid for non-boolean flag.

Steps to Reproduce:

  1. Install via pipx: pipx install pplx-cli
  2. Run any command: perplexity setup or perplexity --help
  3. Error occurs immediately

Environment:

  • OS: macOS (Darwin 24.6.0)
  • Python version: 3.14.0
  • pplx-cli version: 0.2.3
  • Installation method: pipx

Expected Behavior: Commands should execute without errors

Actual Behavior: All commands fail with Typer flag validation error

Additional Context: The error appears to be related to the Typer CLI framework configuration. The tool is completely unusable in its current state.

Roderick111 avatar Dec 15 '25 17:12 Roderick111

Same here, also installed via pipx

ThatGuyIvory avatar Dec 25 '25 17:12 ThatGuyIvory

Hi @Roderick111 and @ThatGuyIvory, thank you for reporting these issues, I have fixed them with latest release https://github.com/xerexcoded/pplx-cli/releases/tag/0.2.6

xerexcoded avatar Dec 28 '25 19:12 xerexcoded

please pull the latest version from PyPi https://pypi.org/project/pplx-cli/

xerexcoded avatar Dec 28 '25 19:12 xerexcoded