Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.37 KB

File metadata and controls

58 lines (39 loc) · 1.37 KB

Contributing to OpenMail CLI

Thanks for your interest in contributing! This is the official CLI for the OpenMail API.

Before you start

  • Check open issues to avoid duplicates
  • For large changes, open an issue first to discuss the approach
  • All contributions are released under the MIT License

Development setup

git clone https://github.com/openmailsh/cli.git
cd cli
npm install

Run in dev mode (watch):

npm run dev

You'll need an API key to test against the real API:

export OPENMAIL_API_KEY=om_xxx

Making changes

  1. Fork the repo and create a branch: git checkout -b fix/my-fix or feat/my-feature
  2. Make your changes in src/
  3. Run tests: npm test
  4. Build to verify TypeScript compiles: npm run build
  5. Open a pull request against main

Commit style

Use conventional commits:

  • fix: correct inbox delete error message
  • feat: add --output flag to threads list
  • chore: bump dependencies

Reporting bugs

Use the bug report template. Include:

  • CLI version (openmail --version)
  • Node.js version (node --version)
  • Steps to reproduce
  • Expected vs actual output

Security vulnerabilities

Do not open a public issue. See SECURITY.md.