rishiverse-cli
v0.2.1
Published
Terminal-first Rishiverse CLI with shell-style commands
Readme
Rishiverse CLI Shell
Terminal-first, Claude/terminal.shop style shell for Rishiverse APIs. Supports profile lookup, notices, mess ratings, and gatepasses.
Install
# Global (recommended for users)
npm install -g rishiverse-cli
rishiverse login # or: rishi login
# Local (for dev)
npm install
npx rishi loginUsage
Run rishiverse login and enter your credentials. You’ll drop into an interactive shell:
Welcome to Rishiverse shell.
Type help, user, notices, mess, gatepass, exit. Tab for suggestions.Overrides and CLI flags
rishiverse login --email [email protected] --password secret --base-url https://custom-api- Environment variables:
RISHI_API_BASE— override API base URLRISHI_API_TOKENorRISHI_SESSION_TOKEN— use a pre-issued token (no login prompt)
- Defaults:
- API base:
https://rishiverse-api.rishihood.edu.in/api/v1 - Config store:
~/.config/configstore/rishiverse-cli.json
- API base:
Shell commands
helpShow commands and tipsuserShow your profile (uses saved token or latest login)noticesList latest notices;notices <n>ornotices #nto view onemessToday’s mess ratings (self + overall)gatepassList your gatepasses in a color-coded tablegatepass newCreate a gatepass; acceptsYYYY-MM-DD HH:mmor ISO for timesclearClear screenexitQuit
Gatepass creation examples
gatepass new 2026-01-08 18:37 2026-01-08 22:35 sonipat food
# or interactively, just type:
gatepass newStatus colors: CREATED (blue), REJECTED (red), SECURITY_OUT/OUT_PUNCH (yellow), STUDENT_OUT (magenta), CLOSED (green).
Config
- Stored at
~/.config/configstore/rishiverse-cli.json. - Default API base:
https://rishiverse-api.rishihood.edu.in/api/v1. - Env overrides:
RISHI_API_BASE,RISHI_API_TOKEN,RISHI_SESSION_TOKEN.
Publishing
- Bump
versioninpackage.json. - Publish:
npm publish(ornpm publish --access publicfor scoped packages). - Users update:
npm update -g rishiverse-cli.
