my-cu-cli
v1.0.2
Published
CLI for checking CU student information from terminal
Readme
my-cu-cli
CLI app for the My CU platform to check student information directly from the terminal.
Features
- Interactive CLI experience with prompts and menus
- Quick access to GPA and subject-related information
- Works on Windows, macOS, and Linux
Tech Stack
- TypeScript
- Commander (CLI command framework)
- Inquirer (interactive prompts)
- Puppeteer (web automation)
Requirements
- Node.js 20+
Install (Client Usage)
Install globally:
npm install -g my-cu-cliRun from anywhere:
my-cu infoUpdate to latest version:
npm update -g my-cu-cliLocal Development
git clone https://github.com/GIORGIPUNK123/my-cu-cli
cd my-cu-cli
npm install
npm run build
npm link
my-cu infoRelease Process
- Apply your code changes and commit.
- Bump version:
npm version patch- Push commit and tags:
git push --follow-tagsThis triggers the GitHub Actions release workflow, which:
- Builds on Ubuntu, macOS, and Windows
- Publishes to npm for tags starting with
v
Trusted Publishing Setup (Recommended)
Use npm Trusted Publishing with GitHub Actions (OIDC) for secure CI publishing without OTP.
- In npm package settings, enable Trusted Publishing for this GitHub repository/workflow.
- Keep the workflow permission
id-token: write. - No
NPM_TOKENsecret is required when Trusted Publishing is configured correctly.
Troubleshooting
If install fails with npm 404, the package version may not be published yet. Check:
npm view my-cu-cliIf publish fails with EOTP in GitHub Actions, Trusted Publishing is not fully configured yet.
- Verify trusted publisher is linked to the same repository and workflow.
- Ensure release runs from tag push in this repository (not from a fork).
