palscli
v1.0.5
Published
Thin CLI for PAL — talks to your hosted PAL API (no local database).
Readme
palscli
A lightweight and fast command-line interface for PAL.
Installation
You can install palscli globally using npm:
npm install -g palscliNote: Requires Node.js 20 or higher.
Usage
After installation, simply run palscli in your terminal to access the tool.
palscliCommands
| Command | Description |
| :--- | :--- |
| login | Sign in using your GitHub account (device flow). |
| chat | Start an interactive chat session with your PAL assistant. |
| wakeup| Open the general interactive interface. |
| whoami| Show the currently authenticated user profile. |
| logout| Clear saved local credentials and sign out. |
Quick Start
- Login: Authenticate via device flow to connect to your remote API.
palscli login - Chat: Once authenticated, you can start conversing right away.
palscli chat
Configuration (Advanced)
palscli acts as a thin client against your remote PAL API and does not manage local databases or secret keys (besides your own short-lived session).
If you are a developer testing a custom backend endpoint, you can override the target targets by passing flags to palscli login:
--server-url <url>Override the PAL API base URL.--client-id <id>Override the GitHub OAuth Client ID.
(You can also use environment variables PALSCLI_API_URL and PALSCLI_GITHUB_CLIENT_ID).
